File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -9,24 +9,25 @@ import {
99 ViewStyle ,
1010 TouchableOpacity ,
1111 TouchableOpacityProps ,
12+ TextStyle ,
1213} from "react-native" ;
1314import styles , { _textStyle , _iconContainer } from "./BouncyCheckbox.style" ;
1415
1516type CustomStyleProp = StyleProp < ViewStyle > | Array < StyleProp < ViewStyle > > ;
1617
1718export interface IBouncyCheckboxProps extends TouchableOpacityProps {
18- style ?: any ;
19+ style ?: StyleProp < ViewStyle > ;
1920 size ?: number ;
2021 text ?: string ;
2122 iconStyle ?: any ;
22- textStyle ?: any ;
23+ textStyle ?: StyleProp < TextStyle > ;
2324 fillColor ?: string ;
24- iconComponent ?: any ;
25+ iconComponent ?: React . ReactNode ;
2526 isChecked ?: boolean ;
2627 unfillColor ?: string ;
2728 disableText ?: boolean ;
2829 ImageComponent ?: any ;
29- iconImageStyle ?: any ;
30+ iconImageStyle ?: StyleProp < ViewStyle > ;
3031 bounceEffect ?: number ;
3132 bounceFriction ?: number ;
3233 useNativeDriver ?: boolean ;
You can’t perform that action at this time.
0 commit comments