File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/floatingButton Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import React , { PureComponent } from 'react' ;
1
+ import React , { PropsWithChildren , PureComponent } from 'react' ;
2
2
import { StyleSheet } from 'react-native' ;
3
3
import { View as AnimatableView } from 'react-native-animatable' ;
4
4
import { Constants } from '../../helpers' ;
@@ -16,11 +16,11 @@ export interface FloatingButtonProps {
16
16
/**
17
17
* Button element (all Button's component's props)
18
18
*/
19
- button ?: ButtonPropTypes ;
19
+ button ?: PropsWithChildren < ButtonPropTypes > ;
20
20
/**
21
21
* Secondary button element (all Button's component's props)
22
22
*/
23
- secondaryButton ?: ButtonPropTypes ;
23
+ secondaryButton ?: PropsWithChildren < ButtonPropTypes > ;
24
24
/**
25
25
* The bottom margin of the button, or secondary button if passed
26
26
*/
You can’t perform that action at this time.
0 commit comments