@@ -9,7 +9,7 @@ export declare enum ButtonSize {
9
9
medium = "medium" ,
10
10
large = "large"
11
11
}
12
- export declare enum AnimationDirection {
12
+ export declare enum ButtonAnimationDirection {
13
13
center = "center" ,
14
14
left = "left" ,
15
15
right = "right"
@@ -124,7 +124,7 @@ export declare type ButtonProps = TouchableOpacityProps & TypographyModifiers &
124
124
/**
125
125
* the direction of the animation ('left' and 'right' will effect the button's own alignment)
126
126
*/
127
- animateTo ?: AnimationDirection ;
127
+ animateTo ?: ButtonAnimationDirection ;
128
128
} ;
129
129
export declare type ButtonPropTypes = ButtonProps ;
130
130
export declare type ButtonState = {
@@ -147,7 +147,7 @@ declare class Button extends PureComponent<Props, ButtonState> {
147
147
iconOnRight : boolean ;
148
148
} ;
149
149
static sizes : typeof ButtonSize ;
150
- static animationDirection : typeof AnimationDirection ;
150
+ static animationDirection : typeof ButtonAnimationDirection ;
151
151
constructor ( props : Props ) ;
152
152
state : {
153
153
size : undefined ;
@@ -345,9 +345,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
345
345
trailing : boolean ;
346
346
} | undefined ;
347
347
activeBackgroundColor ?: string | undefined ;
348
- useNative ?: boolean | undefined ; /**
349
- * Text to show inside the button
350
- */
348
+ useNative ?: boolean | undefined ;
351
349
customValue ?: any ;
352
350
style ?: false | { } | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | import ( "react-native" ) . RecursiveArray < false | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | null | undefined > | {
353
351
backfaceVisibility ?: "visible" | "hidden" | import ( "react-native" ) . Animated . Value | import ( "react-native" ) . Animated . AnimatedInterpolation | undefined ;
@@ -645,7 +643,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
645
643
/**
646
644
* the direction of the animation ('left' and 'right' will effect the button's own alignment)
647
645
*/
648
- animateTo ?: AnimationDirection | undefined ;
646
+ animateTo ?: ButtonAnimationDirection | undefined ;
649
647
} & {
650
648
useCustomTheme ?: boolean | undefined ;
651
649
} ) | ( Pick < import ( "react-native" ) . TouchableOpacityProps , "testID" | "onLayout" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityComponentType" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityTraits" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "disabled" | "activeOpacity" | "onLongPress" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" > & Partial < Record < import ( "../../commons/modifiers" ) . AlignmentLiterals , boolean > > & Partial < Record < import ( "../../commons/modifiers" ) . PositionLiterals , boolean > > & Partial < Record < "padding" | "paddingL" | "paddingT" | "paddingR" | "paddingB" | "paddingH" | "paddingV" , boolean > > & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & Partial < Record < "flex" | "flexG" | "flexS" , boolean > > & Partial < Record < "br0" | "br10" | "br20" | "br30" | "br40" | "br50" | "br60" | "br100" , boolean > > & Partial < Record < "bg" , boolean > > & {
@@ -656,9 +654,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
656
654
trailing : boolean ;
657
655
} | undefined ;
658
656
activeBackgroundColor ?: string | undefined ;
659
- useNative ?: boolean | undefined ; /**
660
- * Text to show inside the button
661
- */
657
+ useNative ?: boolean | undefined ;
662
658
customValue ?: any ;
663
659
style ?: false | { } | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | import ( "react-native" ) . RecursiveArray < false | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | null | undefined > | {
664
660
backfaceVisibility ?: "visible" | "hidden" | import ( "react-native" ) . Animated . Value | import ( "react-native" ) . Animated . AnimatedInterpolation | undefined ;
@@ -956,7 +952,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
956
952
/**
957
953
* the direction of the animation ('left' and 'right' will effect the button's own alignment)
958
954
*/
959
- animateTo ?: AnimationDirection | undefined ;
955
+ animateTo ?: ButtonAnimationDirection | undefined ;
960
956
} & {
961
957
useCustomTheme ?: boolean | undefined ;
962
958
} ) | ( Pick < import ( "react-native" ) . TouchableOpacityProps , "testID" | "onLayout" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityComponentType" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityTraits" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "disabled" | "activeOpacity" | "onLongPress" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" > & Partial < Record < import ( "../../commons/modifiers" ) . AlignmentLiterals , boolean > > & Partial < Record < import ( "../../commons/modifiers" ) . PositionLiterals , boolean > > & Partial < Record < "padding" | "paddingL" | "paddingT" | "paddingR" | "paddingB" | "paddingH" | "paddingV" , boolean > > & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & Partial < Record < "flex" | "flexG" | "flexS" , boolean > > & Partial < Record < "br0" | "br10" | "br20" | "br30" | "br40" | "br50" | "br60" | "br100" , boolean > > & Partial < Record < "bg" , boolean > > & {
@@ -967,9 +963,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
967
963
trailing : boolean ;
968
964
} | undefined ;
969
965
activeBackgroundColor ?: string | undefined ;
970
- useNative ?: boolean | undefined ; /**
971
- * Text to show inside the button
972
- */
966
+ useNative ?: boolean | undefined ;
973
967
customValue ?: any ;
974
968
style ?: false | { } | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | import ( "react-native" ) . RecursiveArray < false | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | null | undefined > | {
975
969
backfaceVisibility ?: "visible" | "hidden" | import ( "react-native" ) . Animated . Value | import ( "react-native" ) . Animated . AnimatedInterpolation | undefined ;
@@ -1267,7 +1261,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
1267
1261
/**
1268
1262
* the direction of the animation ('left' and 'right' will effect the button's own alignment)
1269
1263
*/
1270
- animateTo ?: AnimationDirection | undefined ;
1264
+ animateTo ?: ButtonAnimationDirection | undefined ;
1271
1265
} & {
1272
1266
useCustomTheme ?: boolean | undefined ;
1273
1267
} ) | ( Pick < import ( "react-native" ) . TouchableOpacityProps , "testID" | "onLayout" | "hitSlop" | "hasTVPreferredFocus" | "tvParallaxProperties" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityComponentType" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityTraits" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "disabled" | "activeOpacity" | "onLongPress" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "touchSoundDisabled" > & Partial < Record < import ( "../../commons/modifiers" ) . AlignmentLiterals , boolean > > & Partial < Record < import ( "../../commons/modifiers" ) . PositionLiterals , boolean > > & Partial < Record < "padding" | "paddingL" | "paddingT" | "paddingR" | "paddingB" | "paddingH" | "paddingV" , boolean > > & Partial < Record < "margin" | "marginL" | "marginT" | "marginR" | "marginB" | "marginH" | "marginV" , boolean > > & Partial < Record < "flex" | "flexG" | "flexS" , boolean > > & Partial < Record < "br0" | "br10" | "br20" | "br30" | "br40" | "br50" | "br60" | "br100" , boolean > > & Partial < Record < "bg" , boolean > > & {
@@ -1278,9 +1272,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
1278
1272
trailing : boolean ;
1279
1273
} | undefined ;
1280
1274
activeBackgroundColor ?: string | undefined ;
1281
- useNative ?: boolean | undefined ; /**
1282
- * Text to show inside the button
1283
- */
1275
+ useNative ?: boolean | undefined ;
1284
1276
customValue ?: any ;
1285
1277
style ?: false | { } | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | import ( "react-native" ) . RecursiveArray < false | import ( "react-native" ) . ViewStyle | import ( "react-native" ) . RegisteredStyle < import ( "react-native" ) . ViewStyle > | null | undefined > | {
1286
1278
backfaceVisibility ?: "visible" | "hidden" | import ( "react-native" ) . Animated . Value | import ( "react-native" ) . Animated . AnimatedInterpolation | undefined ;
@@ -1578,7 +1570,7 @@ declare const _default: React.ComponentClass<(Pick<import("react-native").Toucha
1578
1570
/**
1579
1571
* the direction of the animation ('left' and 'right' will effect the button's own alignment)
1580
1572
*/
1581
- animateTo ?: AnimationDirection | undefined ;
1573
+ animateTo ?: ButtonAnimationDirection | undefined ;
1582
1574
} & {
1583
1575
useCustomTheme ?: boolean | undefined ;
1584
1576
} ) , any> & typeof Button ;
0 commit comments