mirror of
https://github.com/owncast/owncast.git
synced 2024-10-24 05:25:58 +03:00
cleanup
This commit is contained in:
parent
70dabb87d4
commit
2c4bfab9db
1 changed files with 0 additions and 29 deletions
|
@ -1,34 +1,5 @@
|
||||||
// TS types for elements on the Config pages
|
// TS types for elements on the Config pages
|
||||||
|
|
||||||
export interface TextFieldProps {
|
|
||||||
apiPath: string;
|
|
||||||
fieldName: string;
|
|
||||||
|
|
||||||
configPath?: string;
|
|
||||||
disabled?: boolean;
|
|
||||||
initialValue?: string;
|
|
||||||
label?: string;
|
|
||||||
maxLength?: number;
|
|
||||||
placeholder?: string;
|
|
||||||
required?: boolean;
|
|
||||||
tip?: string;
|
|
||||||
type?: string;
|
|
||||||
value?: string;
|
|
||||||
onSubmit?: () => void;
|
|
||||||
onBlur?: () => void;
|
|
||||||
onChange?: () => void;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ToggleSwitchProps {
|
|
||||||
apiPath: string;
|
|
||||||
fieldName: string;
|
|
||||||
|
|
||||||
checked?: boolean;
|
|
||||||
configPath?: string;
|
|
||||||
disabled?: boolean;
|
|
||||||
label?: string;
|
|
||||||
tip?: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
// for dropdown
|
// for dropdown
|
||||||
export interface SocialHandleDropdownItem {
|
export interface SocialHandleDropdownItem {
|
||||||
|
|
Loading…
Reference in a new issue