diff --git a/react.tsx b/react.tsx index 8c75beb..1fca260 100644 --- a/react.tsx +++ b/react.tsx @@ -18,7 +18,7 @@ export type FlagsmithContextType = { flagsmith: IFlagsmith // The flagsmith instance options?: Parameters[0] // Initialisation options, if you do not provide this you will have to call init manually serverState?: IState - children: React.ReactElement[] | React.ReactElement; + children: React.ReactNode; } export const FlagsmithProvider: FC = ({