@sinco/react 1.2.3-rc.7 → 1.2.3-rc.9

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.2.3-rc.7",
3
+ "version": "1.2.3-rc.9",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from "react";
2
- import { SxProps, PaletteColor } from "@mui/material";
2
+ import { SxProps } 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?: React.CSSProperties;
17
- color?: React.CSSProperties | PaletteColor;
16
+ backgroundColor?: string;
17
+ color?: string;
18
18
  headerColor?: string;
19
19
  closeIcon?: string;
20
20
  }