@amir-hossein-karimi/toastify-react-native
Version:
🎉 toastify-react-native allows you to add notifications to your react-native app (ios, android) with ease. No more nonsense!
44 lines (41 loc) • 911 B
text/typescript
type AnimationStyle = any;
export interface ToastManagerProps {
positionValue: number;
width: number;
duration: number;
end: number;
animationIn?: any;
animationOut?: any;
backdropTransitionOutTiming: number;
backdropTransitionInTiming: number;
animationInTiming: number;
animationOutTiming: number;
backdropColor: string;
backdropOpacity: number;
hasBackdrop: boolean;
height: number;
style: any;
textStyle: any;
theme: any;
animationStyle?: AnimationStyle;
position?: any;
hasProgressBar?: any;
Component?: any;
entryStyle?: any;
}
export interface ToastManagerState {
isShow: boolean;
text: string;
opacityValue: any;
barWidth: any;
barColor: string;
icon: string;
position: string;
duration: number;
oldDuration: number;
status?: string;
animationStyle: Record<
AnimationStyle,
{ animationIn: string; animationOut: string }
>;
}