@sinco/react 1.0.14-rc.5 → 1.0.14-rc.50
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +302 -1116
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/lib/Components/PageHeader.d.ts +14 -0
- package/src/lib/Components/index.d.ts +1 -2
- package/src/lib/Utils/index.d.ts +1 -0
- package/index.d.ts +0 -1
- package/src/lib/Components/App.d.ts +0 -2
- package/src/lib/Components/ToastNotification.d.ts +0 -14
- package/src/lib/Hooks/useProgress.d.ts +0 -3
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -0,0 +1,14 @@
|
|
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
|
+
date?: boolean;
|
9
|
+
}
|
10
|
+
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"> & {
|
11
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
12
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
13
|
+
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, date, }: PageheaderProperties) => JSX.Element;
|
14
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './dynamicColor';
|
package/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './src/lib/Utils/dynamicColor';
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
interface Option {
|
3
|
-
}
|
4
|
-
interface ToastNotificationProperties {
|
5
|
-
type?: string;
|
6
|
-
subtitle?: string;
|
7
|
-
time?: number | any;
|
8
|
-
title?: string;
|
9
|
-
dataOpt?: Option[];
|
10
|
-
actions?: React.ReactNode;
|
11
|
-
seeMore?: boolean;
|
12
|
-
}
|
13
|
-
export declare const ToastNotificationComponent: (toast: ToastNotificationProperties) => JSX.Element;
|
14
|
-
export {};
|