mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-15 06:58:51 +01:00
feat: icons for chat identification (#879)
* Added endpoint picture * plugin icon fix & new minimalist icon * changed from BingAIMinimalIcon to BingAIMinimalistIcon * fix(Conversation) reduced the space between the icon and the title * refactor(getIcon & getMinimalIcon) * moved IconProps in ~/common * refactor(getIcon & getMinimalistIcon) from switch/case to map * fix(getIcon.tsx) renamed to Icon * renamed all from Minimalist to Minimal
This commit is contained in:
parent
6358383001
commit
2419af8748
18 changed files with 356 additions and 126 deletions
|
|
@ -178,3 +178,17 @@ export type TUserContext = {
|
|||
export type TAuthConfig = {
|
||||
loginRedirect: string;
|
||||
};
|
||||
|
||||
export type IconProps = {
|
||||
size?: number;
|
||||
isCreatedByUser?: boolean;
|
||||
button?: boolean;
|
||||
model?: string;
|
||||
message?: boolean;
|
||||
className?: string;
|
||||
endpoint?: string | null;
|
||||
error?: boolean;
|
||||
chatGptLabel?: string;
|
||||
modelLabel?: string;
|
||||
jailbreak?: boolean;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue