@sinco/react 1.0.1 → 1.0.2-rc.0

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.1",
3
+ "version": "1.0.2-rc.0",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,3 +1,2 @@
1
- import { Components } from '@mui/material';
2
- declare const components: Components;
3
- export default components;
1
+ import { Components } from "@mui/material";
2
+ export declare const components: Components<unknown>;
@@ -1,3 +1,2 @@
1
1
  import { PaletteOptions } from '@mui/material';
2
- declare const palette: PaletteOptions;
3
- export default palette;
2
+ export declare const palette: PaletteOptions;
@@ -1,3 +1,2 @@
1
1
  import { Shadows } from '@mui/material/styles/shadows';
2
- declare const shadows: Shadows;
3
- export default shadows;
2
+ export declare const shadows: Shadows;
@@ -1,3 +1,2 @@
1
1
  import { TypographyOptions } from '@mui/material/styles/createTypography';
2
- declare const typography: TypographyOptions;
3
- export default typography;
2
+ export declare const typography: TypographyOptions;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export interface Option {
3
+ option: string;
4
+ }
5
+ export interface Toast {
6
+ type?: string;
7
+ subtitle?: string;
8
+ time?: number | any;
9
+ title?: string;
10
+ dataOpt?: Option[];
11
+ actions?: React.ReactNode;
12
+ seeMore?: boolean;
13
+ }
@@ -1,2 +0,0 @@
1
- declare const breakpoints: import("@mui/system").Breakpoints;
2
- export default breakpoints;
@@ -1,3 +0,0 @@
1
- import { Mixins } from '@mui/material';
2
- declare const mixins: Mixins;
3
- export default mixins;