1 | import * as React from "react";
|
2 |
|
3 | export type Font = {
|
4 | fontFamily: string;
|
5 | fontWeight?:
|
6 | | "normal"
|
7 | | "bold"
|
8 | | "100"
|
9 | | "200"
|
10 | | "300"
|
11 | | "400"
|
12 | | "500"
|
13 | | "600"
|
14 | | "700"
|
15 | | "800"
|
16 | | "900";
|
17 | };
|
18 |
|
19 | export type Fonts = {
|
20 | regular: Font;
|
21 | medium: Font;
|
22 | light: Font;
|
23 | thin: Font;
|
24 | };
|
25 |
|
26 | export type colorTypes =
|
27 | | "primary"
|
28 | | "secondary"
|
29 | | "surface"
|
30 | | "background"
|
31 | | "error"
|
32 | | "divider"
|
33 | | "strong"
|
34 | | "medium"
|
35 | | "light"
|
36 | | "strongInverse"
|
37 | | "mediumInverse"
|
38 | | "lightInverse";
|
39 |
|
40 | export type Theme = any;
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |
|
64 |
|
65 |
|
66 | export type $Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
|
67 | export type $RemoveChildren<T extends React.ComponentType<any>> = $Omit<
|
68 | React.ComponentPropsWithoutRef<T>,
|
69 | "children"
|
70 | >;
|
71 |
|
72 | export type EllipsizeProp = "head" | "middle" | "tail" | "clip";
|