1 | import type * as React from 'react';
|
2 | import type { PressableProps as PressableNativeProps, StyleProp, View, ViewStyle } from 'react-native';
|
3 | export declare type PressableStateCallbackType = {
|
4 | hovered: boolean;
|
5 | pressed: boolean;
|
6 | focused: boolean;
|
7 | };
|
8 | export declare type PressableProps = Omit<PressableNativeProps, 'children' | 'style'> & {
|
9 | children: React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode) | undefined;
|
10 | style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>) | undefined;
|
11 | };
|
12 | export declare const Pressable: React.ForwardRefExoticComponent<PressableProps & React.RefAttributes<View>>;
|
13 | //# sourceMappingURL=Pressable.d.ts.map |
\ | No newline at end of file |