@sinco/react 1.0.13-rc.4 → 1.0.13-rc.6

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.13-rc.4",
3
+ "version": "1.0.13-rc.6",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,5 +1,3 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
- export * from './PageHeader';
5
- export * from './ToastNotification';
@@ -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;