mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
style(ui): replace SaveIcon with Save from lucide-react in EndpointOptionsPopover component
This commit is contained in:
parent
c5805d710b
commit
efe55d8842
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import React from 'react';
|
||||
import { Button } from './Button.tsx';
|
||||
import SwitchIcon from '../svg/SwitchIcon';
|
||||
import SaveIcon from '../svg/SaveIcon';
|
||||
// import SaveIcon from '../svg/SaveIcon';
|
||||
import { Save } from 'lucide-react';
|
||||
|
||||
function EndpointOptionsPopover({ content, visible, saveAsPreset, switchToSimpleMode }) {
|
||||
const cardStyle =
|
||||
|
|
@ -28,7 +29,7 @@ function EndpointOptionsPopover({ content, visible, saveAsPreset, switchToSimple
|
|||
className="h-auto bg-transparent px-2 py-1 text-xs font-medium font-normal text-black hover:bg-slate-200 hover:text-black dark:bg-transparent dark:text-white dark:hover:bg-gray-700 dark:hover:text-white"
|
||||
onClick={saveAsPreset}
|
||||
>
|
||||
<SaveIcon className="mr-1" />
|
||||
<Save className="mr-1 w-[14px]" />
|
||||
Save as preset
|
||||
</Button>
|
||||
<Button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue