mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
feat(web/input): description tooltip on fields
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user