mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-10 11:34:23 +01:00
refactor: dynamic form elements using react-hook-form Controllers
This commit is contained in:
parent
fac2acd4cf
commit
2150c4815d
10 changed files with 376 additions and 619 deletions
|
|
@ -69,8 +69,6 @@ export interface SettingDefinition {
|
|||
export type DynamicSettingProps = Partial<SettingDefinition> & {
|
||||
readonly?: boolean;
|
||||
settingKey: string;
|
||||
setOption: TSetOption;
|
||||
conversation: TConversation | TPreset | null;
|
||||
defaultValue?: number | boolean | string | string[];
|
||||
className?: string;
|
||||
inputClassName?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue