UNPKG

@hd-app-modules/message

Version:

A React Native hook for managing loading states and message notifications with toast and modal support

4 lines (3 loc) 282 B
export declare const useLoading: () => (visible: boolean, title?: string) => void; export declare const useMessage: () => (title: string, type: 'error' | 'success', popup?: any) => void; export declare const MessageProvider: (props: any) => import("react/jsx-runtime").JSX.Element;