mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 02:10:15 +01:00
merge Daniel Avila's commit
feat(ModelDropDown.jsx): add optional props to customize component appearance and behavior feat(client): add ModelDropDown component to OpenAIOptions component
This commit is contained in:
parent
45e17da241
commit
ad5fbc5fb1
5 changed files with 124 additions and 12 deletions
|
|
@ -19,7 +19,7 @@ function BingAIOptions() {
|
|||
const { toneStyle } = conversation;
|
||||
|
||||
const cardStyle =
|
||||
'shadow-md rounded-md min-w-[75px] font-normal bg-white border-black/10 border dark:bg-gray-700 text-black dark:text-white';
|
||||
'transition-colors shadow-md rounded-md min-w-[75px] font-normal bg-white border-black/10 hover:border-black/10 focus:border-black/10 dark:border-black/10 dark:hover:border-black/10 dark:focus:border-black/10 border dark:bg-gray-700 text-black dark:text-white';
|
||||
const defaultClasses =
|
||||
'p-2 rounded-md min-w-[75px] font-normal bg-white/[.60] dark:bg-gray-700 text-black text-xs';
|
||||
const defaultSelected = cn(defaultClasses, 'font-medium data-[state=active]:text-white text-xs text-white');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue