feat(web/input): description tooltip on fields

This commit is contained in:
Luke
2022-10-27 13:45:27 +02:00
parent 1127108fcd
commit a6a0e4905f
10 changed files with 68 additions and 9 deletions

View File

@@ -8,6 +8,7 @@ export interface IInput {
password?: boolean;
icon?: IconProp;
disabled?: boolean;
description?: string;
}
export interface ICheckbox {
@@ -15,6 +16,7 @@ export interface ICheckbox {
label: string;
checked?: boolean;
disabled?: boolean;
description?: string;
}
export interface ISelect {
@@ -23,6 +25,7 @@ export interface ISelect {
default?: string;
options?: { value: string; label?: string }[];
disabled?: boolean;
description?: string;
}
export interface INumber {
@@ -34,6 +37,7 @@ export interface INumber {
min?: number;
max?: number;
disabled?: boolean;
description?: string;
}
export interface ISlider {
@@ -44,4 +48,5 @@ export interface ISlider {
max?: number;
step?: number;
disabled?: boolean;
description?: string;
}