@sinco/react 1.0.14-rc.30 → 1.0.14-rc.32
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +5160 -6476
- package/package.json +1 -1
- package/src/lib/Components/Drawer.d.ts +3 -2
- package/src/lib/Components/index.d.ts +0 -2
- package/src/lib/Components/Main.d.ts +0 -1
- package/src/lib/Components/PageHeader.d.ts +0 -13
- package/src/lib/Components/ToastNofitication.d.ts +0 -12
- package/src/lib/Hooks/useProgress.d.ts +0 -3
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
1
|
+
import React, { ReactNode } from 'react';
|
2
2
|
export type handleDrawerPosition = 'left' | 'right';
|
3
3
|
export interface DrawerComponentProperties {
|
4
4
|
title: string;
|
@@ -9,5 +9,6 @@ export interface DrawerComponentProperties {
|
|
9
9
|
width: string;
|
10
10
|
open: boolean;
|
11
11
|
onClose: () => void;
|
12
|
+
titleColor: React.CSSProperties;
|
12
13
|
}
|
13
|
-
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, }: DrawerComponentProperties) => JSX.Element;
|
14
|
+
export declare const DrawerComponent: ({ title, children, renderActions, showActions, position, width, open, onClose, titleColor, }: DrawerComponentProperties) => JSX.Element;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const main: () => JSX.Element;
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
interface PageheaderProperties {
|
3
|
-
title?: string;
|
4
|
-
subtitle?: string;
|
5
|
-
actions?: React.ReactNode;
|
6
|
-
buttonBack?: React.ReactNode;
|
7
|
-
fixed?: boolean;
|
8
|
-
}
|
9
|
-
export declare const PageHeaderContent: import("@emotion/styled").StyledComponent<import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
10
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
11
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
12
|
-
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
|
13
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
interface ToastNotificationProperties {
|
3
|
-
type?: string;
|
4
|
-
subtitle?: string;
|
5
|
-
time?: number | any;
|
6
|
-
title?: string;
|
7
|
-
dataOpt?: Array<object>;
|
8
|
-
actions?: React.ReactNode;
|
9
|
-
seeMore?: boolean;
|
10
|
-
}
|
11
|
-
export declare const ToastNotificationComponent: (toast: ToastNotificationProperties) => JSX.Element;
|
12
|
-
export {};
|