@sinco/react 1.0.14-rc.20 → 1.0.14-rc.22

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.14-rc.20",
3
+ "version": "1.0.14-rc.22",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -10,8 +10,6 @@ export interface EmptyStateProperties {
10
10
  state?: EmptyStateStates;
11
11
  title?: string;
12
12
  content?: string;
13
- imageWidth?: string;
14
- imageHeight?: string;
15
13
  actions?: ReactNode;
16
14
  }
17
- export declare const EmptyStateComponent: ({ state, title, content, imageWidth, imageHeight, actions, }: EmptyStateProperties) => JSX.Element;
15
+ export declare const EmptyStateComponent: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ interface Option {
3
+ }
4
+ interface ToastNotificationProperties {
5
+ type?: string;
6
+ subtitle?: string;
7
+ time?: number | any;
8
+ title?: string;
9
+ dataOpt?: Option[];
10
+ actions?: React.ReactNode;
11
+ seeMore?: boolean;
12
+ }
13
+ export declare const ToastNotificationComponent: (toast: ToastNotificationProperties) => JSX.Element;
14
+ export {};
@@ -1,3 +1,5 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
+ export * from './ToastNotification';
5
+ export * from './index';
@@ -0,0 +1,3 @@
1
+ export declare const useProgress: (timeProgress: number) => {
2
+ progressToast: number;
3
+ };