UNPKG

react-native-gesture-handler

Version:

Declarative API exposing native platform touch and gesture system to React Native

59 lines 2.51 kB
import type { ColorValue, ViewProps } from 'react-native'; import type { Float, Int32, UnsafeMixed, WithDefault } from 'react-native/Libraries/Types/CodegenTypes'; interface NativeProps extends ViewProps { exclusive?: WithDefault<boolean, true>; foreground?: boolean; borderless?: boolean; enabled?: WithDefault<boolean, true>; rippleColor?: ColorValue; rippleRadius?: Int32; touchSoundDisabled?: WithDefault<boolean, false>; pointerEvents?: WithDefault<'box-none' | 'none' | 'box-only' | 'auto', 'auto'>; tapAnimationInDuration?: WithDefault<Int32, 50>; tapAnimationOutDuration?: WithDefault<Int32, 100>; longPressDuration?: WithDefault<Int32, -1>; longPressAnimationOutDuration?: WithDefault<Int32, -1>; needsOffscreenAlphaCompositing?: WithDefault<boolean, false>; activeOpacity?: WithDefault<Float, 1>; activeScale?: WithDefault<Float, 1>; activeUnderlayOpacity?: WithDefault<Float, 0>; defaultOpacity?: WithDefault<Float, 1>; defaultScale?: WithDefault<Float, 1>; defaultUnderlayOpacity?: WithDefault<Float, 0>; underlayColor?: ColorValue; borderWidth?: Float; borderColor?: ColorValue; borderStyle?: WithDefault<string, 'solid'>; overflow?: WithDefault<string, 'visible'>; borderLeftWidth?: Float; borderRightWidth?: Float; borderTopWidth?: Float; borderBottomWidth?: Float; borderStartWidth?: Float; borderEndWidth?: Float; borderLeftColor?: ColorValue; borderRightColor?: ColorValue; borderTopColor?: ColorValue; borderBottomColor?: ColorValue; borderStartColor?: ColorValue; borderEndColor?: ColorValue; borderBlockColor?: ColorValue; borderBlockEndColor?: ColorValue; borderBlockStartColor?: ColorValue; borderRadius?: UnsafeMixed; borderTopLeftRadius?: UnsafeMixed; borderTopRightRadius?: UnsafeMixed; borderBottomLeftRadius?: UnsafeMixed; borderBottomRightRadius?: UnsafeMixed; borderTopStartRadius?: UnsafeMixed; borderTopEndRadius?: UnsafeMixed; borderBottomStartRadius?: UnsafeMixed; borderBottomEndRadius?: UnsafeMixed; borderEndEndRadius?: UnsafeMixed; borderEndStartRadius?: UnsafeMixed; borderStartEndRadius?: UnsafeMixed; borderStartStartRadius?: UnsafeMixed; } declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>; export default _default; //# sourceMappingURL=RNGestureHandlerButtonNativeComponent.d.ts.map