From 6221fa82e41915702d8139cade5c25e9d61e619f Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 2 Oct 2023 17:39:16 +0200 Subject: refactor(components): remove Column and NoScript from atoms * Column is a simple div meant to be used inside Columns component so they should live together. * NoScript is only used in Layout component and its name does not make sense since it needs to be used inside a `noscript` element. --- src/components/atoms/layout/column.tsx | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/components/atoms/layout/column.tsx (limited to 'src/components/atoms/layout/column.tsx') diff --git a/src/components/atoms/layout/column.tsx b/src/components/atoms/layout/column.tsx deleted file mode 100644 index 632799c..0000000 --- a/src/components/atoms/layout/column.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import { FC, HTMLAttributes, ReactNode } from 'react'; - -export type ColumnProps = HTMLAttributes & { - children: ReactNode; -}; - -/** - * Column component. - * - * Render the body as a column. - */ -export const Column: FC = ({ children, ...props }) => { - return
{children}
; -}; -- cgit v1.2.3