@@ -159,9 +159,10 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
159
159
validateOnChange ?: boolean | undefined ;
160
160
validateOnBlur ?: boolean | undefined ;
161
161
onChangeValidity ?: ( ( isValid : boolean ) => void ) | undefined ;
162
- fieldStyle ?: import ( "react-native" ) . ViewStyle | ( ( context : import ( "./FieldContext" ) . FieldContextType , props : {
162
+ fieldStyle ?: import ( "react-native" ) . StyleProp < import ( "react-native" ) . ViewStyle > ;
163
+ dynamicFieldStyle ?: ( ( context : import ( "./FieldContext" ) . FieldContextType , props : {
163
164
preset : string | null | undefined ;
164
- } ) => import ( "react-native" ) . ViewStyle ) | undefined ;
165
+ } ) => import ( "react-native" ) . StyleProp < import ( "react-native" ) . ViewStyle > ) | undefined ;
165
166
containerStyle ?: import ( "react-native" ) . ViewStyle | undefined ;
166
167
modifiers : import ( "../../commons/modifiers" ) . ExtractedStyle ;
167
168
forwardedRef : any ;
@@ -487,9 +488,10 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
487
488
validateOnChange ?: boolean | undefined ;
488
489
validateOnBlur ?: boolean | undefined ;
489
490
onChangeValidity ?: ( ( isValid : boolean ) => void ) | undefined ;
490
- fieldStyle ?: import ( "react-native" ) . ViewStyle | ( ( context : import ( "./FieldContext" ) . FieldContextType , props : {
491
+ fieldStyle ?: import ( "react-native" ) . StyleProp < import ( "react-native" ) . ViewStyle > ;
492
+ dynamicFieldStyle ?: ( ( context : import ( "./FieldContext" ) . FieldContextType , props : {
491
493
preset : string | null | undefined ;
492
- } ) => import ( "react-native" ) . ViewStyle ) | undefined ;
494
+ } ) => import ( "react-native" ) . StyleProp < import ( "react-native" ) . ViewStyle > ) | undefined ;
493
495
containerStyle ?: import ( "react-native" ) . ViewStyle | undefined ;
494
496
modifiers : import ( "../../commons/modifiers" ) . ExtractedStyle ;
495
497
forwardedRef : any ;
@@ -1047,13 +1049,14 @@ export default function usePreset({ preset, ...props }: InternalTextFieldProps):
1047
1049
validateOnChange ?: boolean | undefined ;
1048
1050
validateOnBlur : boolean ;
1049
1051
onChangeValidity ?: ( ( isValid : boolean ) => void ) | undefined ;
1050
- fieldStyle : import ( "react-native" ) . ViewStyle | {
1052
+ fieldStyle : false | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | import ( "react-native" ) . RecursiveArray < import ( "react-native" ) . ViewStyle | import ( "react-native" ) . Falsy | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > > | {
1051
1053
borderBottomWidth : number ;
1052
1054
borderBottomColor : string ;
1053
1055
paddingBottom : number ;
1054
- } | ( ( context : import ( "./FieldContext" ) . FieldContextType , props : {
1056
+ } | null ;
1057
+ dynamicFieldStyle ?: ( ( context : import ( "./FieldContext" ) . FieldContextType , props : {
1055
1058
preset : string | null | undefined ;
1056
- } ) => import ( "react-native" ) . ViewStyle ) ;
1059
+ } ) => import ( "react-native" ) . StyleProp < import ( "react-native" ) . ViewStyle > ) | undefined ;
1057
1060
containerStyle ?: import ( "react-native" ) . ViewStyle | undefined ;
1058
1061
modifiers : import ( "../../commons/modifiers" ) . ExtractedStyle ;
1059
1062
forwardedRef : any;
0 commit comments