@sinco/react 1.0.14-rc.25 → 1.0.14-rc.26
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +6045 -4911
- package/package.json +1 -1
- package/src/lib/Components/ToastNotification.d.ts +14 -0
- package/src/lib/Components/index.d.ts +2 -0
- package/src/lib/Hooks/useProgress.d.ts +3 -0
- package/src/lib/Theme/components.d.ts +10 -0
- package/src/lib/Theme/index.d.ts +0 -1
- package/src/lib/Theme/palette.d.ts +0 -1
- package/src/lib/Theme/theme.d.ts +0 -1
package/package.json
CHANGED
@@ -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,2 +1,12 @@
|
|
1
1
|
import { Components } from '@mui/material';
|
2
|
+
declare module '@mui/material/Chip' {
|
3
|
+
interface ChipPropsSizeOverrides {
|
4
|
+
xsmall: true;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
declare module "@mui/material/Checkbox" {
|
8
|
+
interface CheckboxPropsSizeOverrides {
|
9
|
+
xsmall: true;
|
10
|
+
}
|
11
|
+
}
|
2
12
|
export declare const components: Components;
|
package/src/lib/Theme/index.d.ts
CHANGED
package/src/lib/Theme/theme.d.ts
CHANGED