File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/storybook/src/decorators Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import * as React from 'react' ;
2
2
import { KeytipLayer } from '@fluentui/react/lib/Keytips' ;
3
3
4
- export const KeytipLayerWrapper : React . FunctionComponent < { } > = props => {
4
+ export const KeytipLayerWrapper : React . FunctionComponent < React . PropsWithChildren > = props => {
5
5
return (
6
6
< >
7
7
< KeytipLayer content = "Alt Windows" />
Original file line number Diff line number Diff line change 1
1
import * as React from 'react' ;
2
2
import type { Decorator } from '@storybook/react' ;
3
3
4
- const StrictModeWrapper : React . FunctionComponent < { strictMode : boolean } > = props => {
4
+ const StrictModeWrapper : React . FunctionComponent < React . PropsWithChildren < { strictMode : boolean } > > = props => {
5
5
return props . strictMode ? < React . StrictMode > { props . children } </ React . StrictMode > : < > { props . children } </ > ;
6
6
} ;
7
7
You can’t perform that action at this time.
0 commit comments