[Refactor] Extract SettingsPanel (#1673)

* [Refactor] Extract SettingsPanel

* nit
This commit is contained in:
Chenlei Hu
2024-11-24 17:48:35 -08:00
committed by GitHub
parent e53bafbca6
commit 4b91860227
3 changed files with 47 additions and 37 deletions

View File

@@ -58,3 +58,8 @@ export interface FormItem {
attrs?: Record<string, any>
options?: Array<string | SettingOption> | ((value: any) => SettingOption[])
}
export interface ISettingGroup {
label: string
settings: SettingParams[]
}