Hook useListSetting()
useListSetting(
path:string,key:string,defaultValue?:string[]): [string[], (value:string|string[]) =>void]
Source: settings.ts
Returns the items of a list value of a setting and a function to update it
Parameters
path
string
The path of the settings file
key
string
The key of the setting
defaultValue?
string[]
The default value of the setting
Returns
[string[], (value: string | string[]) => void]
The items of a list value of a setting and a function to update it