Skip to content

Commit 7eeca73

Browse files
committed
Add ReactNode type
1 parent 4f4372a commit 7eeca73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type FlagsmithContextType = {
1818
flagsmith: IFlagsmith // The flagsmith instance
1919
options?: Parameters<IFlagsmith['init']>[0] // Initialisation options, if you do not provide this you will have to call init manually
2020
serverState?: IState
21-
children: React.ReactElement[] | React.ReactElement;
21+
children: React.ReactNode;
2222
}
2323

2424
export const FlagsmithProvider: FC<FlagsmithContextType> = ({

0 commit comments

Comments
 (0)