Skip to content

Commit 72ffa4e

Browse files
authored
fix(react): added React.PropsWithChildren (#132)
1 parent b92714f commit 72ffa4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react/konsta-react.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface KonstaProviderProps {
2222
*/
2323
touchRipple?: boolean;
2424
}
25-
declare const KonstaProvider: React.FunctionComponent<KonstaProviderProps>;
25+
declare const KonstaProvider: React.FunctionComponent<React.PropsWithChildren<KonstaProviderProps>>;
2626

2727
// HELPERS
2828
declare const useTheme: () => 'material' | 'ios';

0 commit comments

Comments
 (0)