@sinco/react 1.0.15-rc.11 → 1.0.15-rc.12
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +3439 -3360
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/lib/Components/Drawer.d.ts +2 -3
- package/src/lib/Components/PageHeader.d.ts +15 -0
- package/src/lib/Components/index.d.ts +1 -0
- package/src/lib/Utils/index.d.ts +1 -0
- package/index.d.ts +0 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { ReactNode } from 'react';
|
2
2
|
export type handleDrawerPosition = 'left' | 'right';
|
3
3
|
export interface DrawerComponentProperties {
|
4
4
|
title: string;
|
@@ -9,6 +9,5 @@ export interface DrawerComponentProperties {
|
|
9
9
|
width: string;
|
10
10
|
open: boolean;
|
11
11
|
onClose: () => void;
|
12
|
-
sx?: React.CSSProperties;
|
13
12
|
}
|
14
|
-
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose,
|
13
|
+
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, }: DrawerComponentProperties) => JSX.Element;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Variant } from "@mui/material/styles/createTypography";
|
2
|
+
import React from "react";
|
3
|
+
export interface PageheaderProperties {
|
4
|
+
title: string | React.ReactNode;
|
5
|
+
subtitle?: string | React.ReactNode;
|
6
|
+
actions?: React.ReactNode;
|
7
|
+
buttonBack?: React.ReactNode;
|
8
|
+
fixed?: boolean;
|
9
|
+
}
|
10
|
+
export declare function PageHeaderWraps({ item, Color, variant, }: {
|
11
|
+
item: string | React.ReactNode;
|
12
|
+
Color: string;
|
13
|
+
variant: Variant;
|
14
|
+
}): JSX.Element;
|
15
|
+
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './dynamicColor';
|
package/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './src/lib/Utils/dynamicColor';
|