Skip to content

Commit e9c7ec3

Browse files
committed
main 🧊 option type for children
1 parent 66854b2 commit e9c7ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎packages/core/src/helpers/createContext/createContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface ContextValue<Value> {
2121
/** The provider props type */
2222
export interface ProviderProps<Value> {
2323
/** The children */
24-
children: ReactNode;
24+
children?: ReactNode;
2525
/** The initial value */
2626
initialValue?: Value;
2727
}

0 commit comments

Comments
 (0)