UNPKG

ra-core

Version:

Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React

15 lines 635 B
import * as React from 'react'; /** * Provides a way to show a notification. * @see useNotify * * @example <caption>Basic usage</caption> * <Notification /> * * @param props The component props * @param {string} props.type The notification type. Defaults to 'info'. * @param {number} props.autoHideDuration Duration in milliseconds to wait until hiding a given notification. Defaults to 4000. * @param {boolean} props.multiLine Set it to `true` if the notification message should be shown in more than one line. */ export declare const Notification: () => React.JSX.Element | null; //# sourceMappingURL=Notification.d.ts.map