rn-inkpad
Version:
<img src="https://res.cloudinary.com/fercloudinary/image/upload/v1715452841/packages/inkpad-banner_acl0xl.png" />
10 lines (9 loc) • 428 B
TypeScript
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>;
};