Skip to content

Commit

Permalink
fix(email component): add return type
Browse files Browse the repository at this point in the history
add return Type as `JSX.Element` for the Email component

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>
  • Loading branch information
niloysikdar committed Jun 18, 2022
1 parent 08162bd commit 00e2763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Email/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ interface EmailProps {
children?: ReactNode;
}

export const Email = ({ children }: EmailProps) => {
export const Email = ({ children }: EmailProps): JSX.Element => {
return <div>{children}</div>;
};

0 comments on commit 00e2763

Please sign in to comment.