@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
@@ -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,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;
|