Skip to content

Commit

Permalink
Merge pull request #155 from callstack/fix/theme-provider-missing-chi…
Browse files Browse the repository at this point in the history
…ldren-type
  • Loading branch information
lukewalczak authored Aug 1, 2023
2 parents 0497729 + 28c9446 commit 68b613f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type $Without<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T,
type $DeepPartial<T> = { [P in keyof T]?: $DeepPartial<T[P]> };

export type ThemingType<Theme> = {
ThemeProvider: React.ComponentType<{ theme?: Theme }>;
ThemeProvider: React.ComponentType<{children: React.ReactNode, theme?: Theme }>;
withTheme: <Props extends { theme: Theme }, C>(
WrappedComponent: React.ComponentType<Props> & C
) => React.ComponentType<
Expand Down

0 comments on commit 68b613f

Please sign in to comment.