aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/column.tsx
blob: 632799c6506be911a67e6a0775bc2c3ffe321496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { FC, HTMLAttributes, ReactNode } from 'react';

export type ColumnProps = HTMLAttributes<HTMLDivElement> & {
  children: ReactNode;
};

/**
 * Column component.
 *
 * Render the body as a column.
 */
export const Column: FC<ColumnProps> = ({ children, ...props }) => {
  return <div {...props}>{children}</div>;
};