diff --git a/pages/container/fit-height.page.tsx b/pages/container/fit-height.page.tsx index 7173d83baa..670832add6 100644 --- a/pages/container/fit-height.page.tsx +++ b/pages/container/fit-height.page.tsx @@ -2,14 +2,22 @@ // SPDX-License-Identifier: Apache-2.0 import React, { useContext } from 'react'; -import ColumnLayout from '~components/column-layout'; -import Container, { ContainerProps } from '~components/container'; -import Grid from '~components/grid'; -import Header from '~components/header'; -import Link from '~components/link'; -import SpaceBetween from '~components/space-between'; +import { + Box, + ColumnLayout, + Container, + ContainerProps, + Grid, + Header, + KeyValuePairs, + Link, + SpaceBetween, + Table, +} from '~components'; import AppContext, { AppContextType } from '../app/app-context'; +import { generateItems } from '../table/generate-data'; +import { columnsConfig } from '../table/shared-configs'; import ScreenshotArea from '../utils/screenshot-area'; import styles from './fit-height.scss'; @@ -101,7 +109,89 @@ export default function () {
+

Content variants

+ + + + + + + + + +
+ + + +
+
); } + +function ServiceOverview() { + return ( + + 14 + + ), + }, + { + label: 'Volumes', + value: ( + + 126 + + ), + }, + { + label: 'Security groups', + value: ( + + 116 + + ), + }, + { + label: 'Load balancers', + value: ( + + 28 + + ), + }, + ]} + /> + ); +} + +function ServiceOverviewWithPadding() { + return ( + + + + ); +} + +const allItems = generateItems(10); +function TableWithStickyScrollbar() { + return ( + + Table with sticky scrollbar + + } + columnDefinitions={columnsConfig} + items={allItems} + /> + ); +}