You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					23 lines
				
				645 B
			
		
		
			
		
	
	
					23 lines
				
				645 B
			| 
								 
											2 years ago
										 
									 | 
							
								interface NotifyOptions {
							 | 
						||
| 
								 | 
							
								    type?: 'primary' | 'success' | 'danger' | 'warning';
							 | 
						||
| 
								 | 
							
								    color?: string;
							 | 
						||
| 
								 | 
							
								    zIndex?: number;
							 | 
						||
| 
								 | 
							
								    top?: number;
							 | 
						||
| 
								 | 
							
								    message: string;
							 | 
						||
| 
								 | 
							
								    context?: any;
							 | 
						||
| 
								 | 
							
								    duration?: number;
							 | 
						||
| 
								 | 
							
								    selector?: string;
							 | 
						||
| 
								 | 
							
								    background?: string;
							 | 
						||
| 
								 | 
							
								    safeAreaInsetTop?: boolean;
							 | 
						||
| 
								 | 
							
								    onClick?: () => void;
							 | 
						||
| 
								 | 
							
								    onOpened?: () => void;
							 | 
						||
| 
								 | 
							
								    onClose?: () => void;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								declare function Notify(options: NotifyOptions | string): any;
							 | 
						||
| 
								 | 
							
								declare namespace Notify {
							 | 
						||
| 
								 | 
							
								    var clear: (options?: NotifyOptions | undefined) => void;
							 | 
						||
| 
								 | 
							
								    var setDefaultOptions: (options: NotifyOptions) => void;
							 | 
						||
| 
								 | 
							
								    var resetDefaultOptions: () => void;
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								export default Notify;
							 |