notify.d.ts 430 B

12345678910111213141516
  1. interface NotifyOptions {
  2. type?: 'primary' | 'success' | 'danger' | 'warning';
  3. color?: string;
  4. zIndex?: number;
  5. message: string;
  6. context?: any;
  7. duration?: number;
  8. selector?: string;
  9. background?: string;
  10. safeAreaInsetTop?: boolean;
  11. onClick?: () => void;
  12. onOpened?: () => void;
  13. onClose?: () => void;
  14. }
  15. export default function Notify(options: NotifyOptions | string): void;
  16. export {};