Skip to content

Commit

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

resolves #39

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

export interface SectionProps {
children?: ReactNode;
}

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

0 comments on commit eb04e13

Please sign in to comment.