react-native-toastier
Version:
React Native Toast message library for Android and iOS with animated and customizable toast notifications.
15 lines • 623 B
TypeScript
import React from 'react';
import { ViewStyle } from 'react-native';
import { Theme, ToastContextType, ToastProps, ToastProviderProps } from '../types';
interface Props {
children: React.ReactNode;
theme?: Theme;
toast?: ToastProps['children'];
offset?: number;
providerContainerStyle?: ViewStyle;
}
export declare let ToastService: ToastContextType;
export declare const ToastContext: React.Context<ToastContextType>;
declare const ToastProvider: ({ children, theme, ...props }: Props & ToastProviderProps) => React.JSX.Element;
export default ToastProvider;
//# sourceMappingURL=ToastProvider.d.ts.map