@sinco/react 1.0.2-rc.2 → 1.0.2-rc.3
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
package/src/lib/{Components/ToastNotification → components/toastNotification}/interfaces.d.ts
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import { ReactElement } from "react";
|
2
2
|
export interface Option {
|
3
3
|
option: string;
|
4
4
|
}
|
@@ -11,3 +11,9 @@ export interface Toast {
|
|
11
11
|
actions?: React.ReactNode;
|
12
12
|
seeMore?: boolean;
|
13
13
|
}
|
14
|
+
export interface IconMap {
|
15
|
+
[key: string]: ReactElement;
|
16
|
+
}
|
17
|
+
export interface ColorMap {
|
18
|
+
[key: string]: "success" | "error" | "warning" | "secondary";
|
19
|
+
}
|