UNPKG

@onesy/ui-react

Version:
16 lines (15 loc) 536 B
import React from 'react'; import { ISnackbar } from '../Snackbar/Snackbar'; import { IBaseElement, IPropsAny } from '../types'; export declare type ISnackbarsValue = { add: (value: ISnackbar) => void; remove: (value: 'first' | 'last' | string) => void; }; export declare type ISnackbars = IBaseElement & { max?: number; position?: 'top' | 'bottom'; alignment?: 'start' | 'left' | 'center' | 'right' | 'end'; SnackbarProps?: IPropsAny; }; declare const Snackbars: React.FC<ISnackbars>; export default Snackbars;