UNPKG

@codebayu/react-native-toast

Version:

The Package for creating dynamic and reusable styles in React Native App

13 lines 425 B
import { ToastProps } from './types'; /** * Hook to control toasts programmatically. * Provides methods to show and hide toast messages. * * @returns {object} An object containing `showToast` and `hideToast` functions. * * @example * const { showToast, hideToast } = useToast(); * showToast("This is an warning toast", "warning"); */ export declare function useToast(): ToastProps; //# sourceMappingURL=hook.d.ts.map