@sinco/react 1.0.13 → 1.0.14-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +5121 -6516
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/lib/Components/index.d.ts +0 -2
- package/src/lib/Components/PageHeader.d.ts +0 -12
- package/src/lib/Components/ToastNotification.d.ts +0 -20
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
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"> & {
|
3
|
-
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
4
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/material").StackOwnProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
5
|
-
interface PageheaderProperties {
|
6
|
-
title?: string;
|
7
|
-
subtitle?: string;
|
8
|
-
actions?: React.ReactNode;
|
9
|
-
buttonBack?: React.ReactNode;
|
10
|
-
}
|
11
|
-
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, }: PageheaderProperties) => JSX.Element;
|
12
|
-
export {};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { ReactElement } from 'react';
|
2
|
-
import React from 'react';
|
3
|
-
export interface Option {
|
4
|
-
}
|
5
|
-
export interface ToastNotificationProperties {
|
6
|
-
type?: string;
|
7
|
-
subtitle?: string;
|
8
|
-
time?: number | any;
|
9
|
-
title?: string;
|
10
|
-
dataOpt?: Option[];
|
11
|
-
actions?: React.ReactNode;
|
12
|
-
seeMore?: boolean;
|
13
|
-
}
|
14
|
-
export interface handleChangeToastIcon {
|
15
|
-
[key: string]: ReactElement;
|
16
|
-
}
|
17
|
-
export interface handleToastColor {
|
18
|
-
[key: string]: 'success' | 'error' | 'warning' | 'info';
|
19
|
-
}
|
20
|
-
export declare const ToastNotificationComponent: (toast: ToastNotificationProperties) => JSX.Element;
|