Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import type {
TBorder,
TIcons,
TPosition,
TSize,
TTextStyle,
TThemeColor,
TThemeColorNoWhite,
} from '@interfaces/common';
import type { ISBOption, ISliderOptions, ITreeItem } from '@interfaces/componentsProp';
export interface ITLProps {
items: ITreeItem[];
maxWidth?: number;
expand?: boolean;
theme?: TThemeColor;
}
export interface ITIProps {
state: {
isOpen: boolean;
label: string;
}[];
items: ITreeItem[];
textColor: TThemeColor;
themeColor: string;
}
export interface ISliderProps {
width?: string | number;
min?: string | number;
max?: string | number;
step?: string | number;
size?: TSize;
theme?: TThemeColor;
backgroundColor?: TThemeColor;
orientation?: 'horizontal' | 'vertical';
isSmooth?: boolean;
options?: ISliderOptions[];
}
export interface IDrawerProps {
position?: TPosition;
width?: string | number;
theme?: TThemeColor;
modal?: boolean;
dismissible?: boolean;
closeIcon?: TIcons;
headerDivider?: boolean;
footerDivider?: boolean;
}
export interface IModalProps {
theme?: TThemeColor;
width?: number | string;
closeIcon?: TIcons;
headerDivider?: boolean;
}
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
export interface ISBProps {
options: ISBOption[];
size?: TSize;
rounded?: boolean;
activeBackgroundColor?: TThemeColor;
border?: TThemeColor;
disabled?: boolean;
}
export interface IButtonProps {
label?: string;
size?: TSize;
textStyle?: TTextStyle;
iconPos?: TPosition;
width?: string | number;
theme?: TThemeColor;
textColor?: TThemeColor;
border?: TThemeColor;
iconOnly?: boolean;
}
export interface ITSProps {
size?: TSize;
theme?: TThemeColorNoWhite;
negativeTheme?: TThemeColor;
darkNegative?: boolean;
disabled?: boolean;
}
export interface IDividerProps {
height?: number;
type?: TBorder;
color?: TThemeColor;
}