diff options
Diffstat (limited to 'src/components/atoms/layout/main.tsx')
| -rw-r--r-- | src/components/atoms/layout/main.tsx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/components/atoms/layout/main.tsx b/src/components/atoms/layout/main.tsx deleted file mode 100644 index 919b25a..0000000 --- a/src/components/atoms/layout/main.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { FC, HTMLAttributes, ReactNode } from 'react'; - -export type MainProps = HTMLAttributes<HTMLElement> & { - /** - * The main body. - */ - children: ReactNode; -}; - -/** - * Main component - * - * Render a main element. - */ -export const Main: FC<MainProps> = ({ children, ...props }) => { - return <main {...props}>{children}</main>; -}; |
