@sinco/react 1.0.4-rc.5 → 1.0.4-rc.7

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.4-rc.5",
3
+ "version": "1.0.4-rc.7",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './lib/Theme';
2
+ export * from './lib/Components';
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- export interface EmptyStatePropertys {
2
+ export interface EmptyStateProperties {
3
3
  state?: States;
4
4
  title?: string;
5
5
  content?: string;
@@ -12,5 +12,4 @@ export declare enum UrlImage {
12
12
  noresult = "src/assets/images/noresult.svg",
13
13
  create = "src/assets/images/create.svg"
14
14
  }
15
- declare const EmptyState: (emptyState: EmptyStatePropertys) => JSX.Element;
16
- export default EmptyState;
15
+ export declare const EmptyState: ({ state, title, content, actions, }: EmptyStateProperties) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './EmptyState';