@sinco/react 1.0.15-rc.61 → 1.0.15-rc.64
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.15-rc.
|
3
|
+
"version": "1.0.15-rc.64",
|
4
4
|
"description": "package for the configuration of mui react sinco",
|
5
5
|
"private": false,
|
6
6
|
"license": "MIT",
|
@@ -11,7 +11,10 @@
|
|
11
11
|
"peerDependencies": {
|
12
12
|
"react": "^18.2.0",
|
13
13
|
"react-dom": "^18.2.0",
|
14
|
-
"@emotion/react": "^11.11.0"
|
14
|
+
"@emotion/react": "^11.11.0",
|
15
|
+
"@mui/icons-material": "^5.14.3",
|
16
|
+
"@mui/material": "^5.14.13",
|
17
|
+
"@mui/x-data-grid": "^6.6.0"
|
15
18
|
},
|
16
19
|
"sideEffects": false,
|
17
20
|
"module": "./index.js",
|
@@ -1,10 +1,15 @@
|
|
1
|
+
import { Variant } from "@mui/material/styles/createTypography";
|
1
2
|
import React from "react";
|
2
|
-
interface PageheaderProperties {
|
3
|
+
export interface PageheaderProperties {
|
3
4
|
title: string | React.ReactNode;
|
4
5
|
subtitle?: string | React.ReactNode;
|
5
6
|
actions?: React.ReactNode;
|
6
7
|
buttonBack?: React.ReactNode;
|
7
8
|
fixed?: boolean;
|
8
9
|
}
|
10
|
+
export declare function PageHeaderWrapper({ item, color, variant, }: {
|
11
|
+
item: string | React.ReactNode;
|
12
|
+
color: string;
|
13
|
+
variant: Variant;
|
14
|
+
}): JSX.Element;
|
9
15
|
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
|
10
|
-
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export type toastType = "success" | "error" | "warning" | "info";
|
3
|
+
export interface ToastBaseProperties {
|
4
|
+
type?: toastType;
|
5
|
+
subtitle?: string;
|
6
|
+
title: string;
|
7
|
+
time?: number | any;
|
8
|
+
dataOpt?: string[];
|
9
|
+
actions?: React.ReactNode;
|
10
|
+
seeMore?: boolean;
|
11
|
+
}
|
12
|
+
export declare const ToastNotificationComponent: (toast: ToastBaseProperties) => JSX.Element;
|