- create default values for starter fields
- add starter api urls - try and add TS types for initial components and objects - cleanup status indicator on layout header - create custom textfield for config form editing
This commit is contained in:
14
web/types/config-section.ts
Normal file
14
web/types/config-section.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
// TS types for elements on the Config pages
|
||||
|
||||
export interface TextFieldProps {
|
||||
onUpdate: ({ fieldName, value }: UpdateArgs) => void;
|
||||
fieldName: string;
|
||||
value: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface UpdateArgs {
|
||||
fieldName: string;
|
||||
value: string;
|
||||
path?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user