Skip to content

Commit

Permalink
fix: use proper type for children prop
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Mar 26, 2022
1 parent f1ed1a7 commit 8c436e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type FormSectionProps = {
title: string;
description: string;
toggleable?: boolean;
children: JSX.IntrinsicElements | JSX.Element | string;
children: React.ReactNode;
};

export const FormSection = (props: FormSectionProps) => {
Expand Down

0 comments on commit 8c436e8

Please sign in to comment.