master-components-react-ts 2.8.7 → 2.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  import { NotificationToastProps } from './NotificationToast.types';
2
- declare const createNotificationToast: {
2
+ declare const useNotificationToast: {
3
3
  (): ((props: NotificationToastProps) => void);
4
4
  propKeys: readonly ["title", "colorType", "filled", "withClose", "withUndo", "withInfoIcon", "description", "customAction", "timeout", "children", "onUndo", "onClose"];
5
5
  displayName: string;
6
6
  description: string;
7
7
  };
8
- export default createNotificationToast;
8
+ export default useNotificationToast;
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export { default as Radio } from './components/Radio/Radio';
9
9
  export { default as Tooltip } from './components/Tooltip/Tooltip';
10
10
  export { default as Popup } from './components/Popup/Popup';
11
11
  export { default as ToastProvider } from './components/NotificationToast/NotificationContext';
12
- export { default as createNotificationToast } from './components/NotificationToast/createNotificationToast';
12
+ export { default as useNotificationToast } from './components/NotificationToast/createNotificationToast';
13
13
  export { default as TimePicker } from './components/TimePicker/TimePicker';
14
14
  export { default as DatePicker } from './components/DatePicker/DatePicker';
15
15
  export type { PickerValue } from './components/DatePicker/DatePicker.types';