@sinco/react 1.0.14-rc.0 → 1.0.14-rc.2

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.14-rc.0",
3
+ "version": "1.0.14-rc.2",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -0,0 +1,14 @@
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 {};
@@ -1,4 +1,4 @@
1
1
  export * from './EmptyState';
2
2
  export * from './Drawer';
3
3
  export * from './FooterAction';
4
- export * from './SincoIcon';
4
+ export * from './ToastNotification';
@@ -0,0 +1,3 @@
1
+ export declare const useProgress: (timeProgress: number) => {
2
+ progressToast: number;
3
+ };
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- export type SincoIconId = 'datoContacto' | 'datoNotificaciones' | 'documentos' | 'especialidades' | 'informacionGeneral' | 'novedades' | 'validacionPersonas';
3
- export declare enum SincoIconImageUrl {
4
- datoContacto = "sinco-datoContacto",
5
- datoNotificaciones = "sinco-datoNotificaciones",
6
- documentos = "sinco-documentos",
7
- especialidades = "sinco-especialidades",
8
- informacionGeneral = "sinco-informacionGeneral",
9
- novedades = "sinco-novedades",
10
- validacionPersonas = "sinco-validacionPersonas"
11
- }
12
- export interface SincoIconProperties {
13
- icon: SincoIconId;
14
- width?: string;
15
- height?: string;
16
- }
17
- export declare const SincoIcon: ({ icon, width, height }: SincoIconProperties) => JSX.Element;