native-base
Version:
Essential cross-platform UI components for React Native
30 lines (29 loc) • 845 B
TypeScript
import React from 'react';
import type { IPressableProps } from './types';
export declare const useHover: () => {
hoverProps: {
onHoverIn: () => void;
onHoverOut: () => void;
};
isHovered: boolean;
};
export declare const useFocus: () => {
focusProps: {
onFocus: () => void;
onBlur: () => void;
};
isFocused: boolean;
};
export declare const useIsPressed: () => {
pressableProps: {
onPressIn: () => void;
onPressOut: () => void;
};
isPressed: boolean;
};
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("./types").InterfacePressableProps<IPressableProps> & {
variant?: unknown;
size?: unknown;
colorScheme?: import("../../types").ColorSchemeType;
} & React.RefAttributes<unknown>>>;
export default _default;