@sinco/react 1.2.3-rc.3 → 1.2.3-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +1 -1
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +3 -3
package/index.esm.js
CHANGED
@@ -16911,7 +16911,7 @@ var DrawerComponent = function DrawerComponent(_ref) {
|
|
16911
16911
|
px: 1,
|
16912
16912
|
bgcolor: "secondary.main"
|
16913
16913
|
}, React__default.createElement(Typography, {
|
16914
|
-
color: "
|
16914
|
+
color: "action.active" ,
|
16915
16915
|
variant: "h6"
|
16916
16916
|
}, title), React__default.createElement(IconButton, {
|
16917
16917
|
onClick: onClose,
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from "react";
|
2
|
-
import { SxProps } from "@mui/material";
|
2
|
+
import { SxProps, PaletteColor } from "@mui/material";
|
3
3
|
export type DrawerPosition = "left" | "right";
|
4
4
|
export interface DrawerComponentProperties {
|
5
5
|
title: string;
|
@@ -13,8 +13,8 @@ export interface DrawerComponentProperties {
|
|
13
13
|
onClose: () => void;
|
14
14
|
sx?: SxProps;
|
15
15
|
sxActions?: SxProps;
|
16
|
-
backgroundColor?:
|
17
|
-
color?:
|
16
|
+
backgroundColor?: React.CSSProperties;
|
17
|
+
color?: React.CSSProperties | PaletteColor;
|
18
18
|
headerColor?: string;
|
19
19
|
closeIcon?: string;
|
20
20
|
}
|