@sinco/react 1.0.7 → 1.0.8-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.7",
3
+ "version": "1.0.8-rc.0",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -1,2 +1,4 @@
1
1
  export * from './lib/Theme';
2
2
  export * from './lib/Components';
3
+ export * from './lib/Hooks';
4
+ export * from './lib/Utils';
@@ -0,0 +1 @@
1
+ export * from './useDynamicColor';
@@ -0,0 +1,3 @@
1
+ export declare const useDynamicColor: (url: string) => {
2
+ loading: boolean;
3
+ };
@@ -0,0 +1,7 @@
1
+ import { PaletteColor, TypeBackground } from "@mui/material";
2
+ declare const dynamicColor: (src: string) => Promise<{
3
+ primaryColor: PaletteColor;
4
+ secondaryColor: PaletteColor;
5
+ backgroundColor: TypeBackground;
6
+ }>;
7
+ export default dynamicColor;
@@ -0,0 +1 @@
1
+ export * from './dynamicColor';