UNPKG

react-native-irano

Version:

A customizable cross-platform toast notification library for React Native.

26 lines 863 B
import { type FC } from 'react'; import { type TextStyle, type ViewStyle, type ViewProps } from 'react-native'; import { type PathProps } from 'react-native-svg'; import { type AnimatedProps } from 'react-native-reanimated'; export interface AlertProps extends AlertStyleProps { title: string; subtitle: string; onClose: () => void; visible: boolean; preset?: 'done' | 'loading' | 'error'; } export interface AlertStyleProps { titleStyle?: TextStyle; subtitleStyle?: TextStyle; delay?: number; duration?: number; autoHide?: boolean; autoHideDelay?: number; cardStyle?: ViewStyle; animatedViewProps?: AnimatedProps<ViewProps>; pathAnimatedProps?: PathProps; overlayStyle?: ViewStyle; loadingIndicatorStyle?: ViewStyle; } export declare const Alert: FC<AlertProps>; //# sourceMappingURL=alert.d.ts.map