Skip to content

Commit

Permalink
feat(component): add column
Browse files Browse the repository at this point in the history
add column component

resolves #39

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>
  • Loading branch information
niloysikdar committed Jun 30, 2022
1 parent ea7845d commit 8d25dcc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/Column/Column.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { ReactNode } from 'react';

export interface ColumnProps {
children?: ReactNode;
}

export const Column = ({ children }: ColumnProps): JSX.Element => {
return <tbody>{children}</tbody>;
};
1 change: 1 addition & 0 deletions src/components/Column/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { Column } from './Column';
1 change: 1 addition & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Email';
export * from './Column';

0 comments on commit 8d25dcc

Please sign in to comment.