mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 07:26:02 +01:00
feat(interface/dialog): disabled row property (#142)
* feat(interface/dialog): readonly, disabled flags * Update TS prop types * refactor(web/input): remove read only property Co-authored-by: davidxd33 <dponce@gmail.com>
This commit is contained in:
@@ -7,12 +7,14 @@ export interface IInput {
|
||||
default?: string;
|
||||
password?: boolean;
|
||||
icon?: IconProp;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export interface ICheckbox {
|
||||
type: 'checkbox';
|
||||
label: string;
|
||||
checked?: boolean;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export interface ISelect {
|
||||
@@ -20,6 +22,7 @@ export interface ISelect {
|
||||
label: string;
|
||||
default?: string;
|
||||
options?: { value: string; label?: string }[];
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export interface INumber {
|
||||
@@ -30,6 +33,7 @@ export interface INumber {
|
||||
icon?: IconProp;
|
||||
min?: number;
|
||||
max?: number;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export interface ISlider {
|
||||
@@ -39,4 +43,5 @@ export interface ISlider {
|
||||
min?: number;
|
||||
max?: number;
|
||||
step?: number;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user