mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
style(OpenAIOptions): add dark mode support to Settings2 icon
feat(OpenAIOptions): pass isOpen prop to Settings component to toggle visibility
This commit is contained in:
parent
467e24c9ed
commit
b687ab30ed
2 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ const defaultTextProps =
|
|||
const optionText =
|
||||
'p-0 shadow-none text-right pr-1 h-8 border-transparent focus:ring-[#10a37f] focus:ring-offset-0 focus:ring-opacity-100';
|
||||
|
||||
function Settings() {
|
||||
function Settings({ isOpen }) {
|
||||
const [chatGptLabel, setChatGptLabel] = useState('');
|
||||
const [promptPrefix, setPromptPrefix] = useState('');
|
||||
const [temperature, setTemperature] = useState(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue