diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-29 18:35:41 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-29 18:35:41 +0200 |
| commit | 2652fe4d5ee4451a0c9b52996844d90c66dfdfe0 (patch) | |
| tree | 00ff905079345b059d4001f06fc30cc833e5dcf9 /src/components/atoms/layout/column.tsx | |
| parent | 7e16f500cb7bc0cfd8bafbf6bb1555704f771231 (diff) | |
chore: add a Column component
Diffstat (limited to 'src/components/atoms/layout/column.tsx')
| -rw-r--r-- | src/components/atoms/layout/column.tsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/atoms/layout/column.tsx b/src/components/atoms/layout/column.tsx new file mode 100644 index 0000000..ec6440d --- /dev/null +++ b/src/components/atoms/layout/column.tsx @@ -0,0 +1,16 @@ +import { FC, ReactNode } from 'react'; + +export type ColumnProps = { + children: ReactNode | ReactNode[]; +}; + +/** + * Column component. + * + * Render the body as a column. + */ +const Column: FC<ColumnProps> = ({ children }) => { + return <div>{children}</div>; +}; + +export default Column; |
