We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7462965 commit ec20881Copy full SHA for ec20881
apps/vr-tests/src/stories/ThemeProvider/ThemeProviderLoadTheme.stories.tsx
@@ -21,10 +21,12 @@ export default {
21
],
22
};
23
24
-const LoadThemeTestButton: React.FunctionComponent<{
25
- buttonAs?: React.ElementType;
26
- buttonProps?: any;
27
-}> = props => {
+const LoadThemeTestButton: React.FunctionComponent<
+ React.PropsWithChildren<{
+ buttonAs?: React.ElementType;
+ buttonProps?: any;
28
+ }>
29
+> = props => {
30
const [isThemeCustomized, setIsThemeCustomized] = React.useState(false);
31
32
// toggle between default theme and customized theme
0 commit comments