UNPKG

rn-custom-alert-prompt

Version:
10 lines (9 loc) 428 B
import { TextInput } from 'react-native'; import { AlertData, PromptData } from '../types/alertTypes'; export declare const useAlertContainer: () => { prompt: PromptData | AlertData | undefined; isAlert: boolean; setTextInput: import("react").Dispatch<import("react").SetStateAction<string>>; handlePress: (cancel?: boolean, callback?: () => void) => void; inputRef: import("react").RefObject<TextInput>; };