UNPKG

custom-react-native-alert

Version:

A customizable global alert system for React Native using context and modal.

9 lines (8 loc) 225 B
import React from 'react'; import { AlertConfig } from './types'; interface Props extends AlertConfig { visible: boolean; onClose: () => void; } declare const CustomAlert: React.FC<Props>; export default CustomAlert;