mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-14 22:48:10 +01:00
18 lines
772 B
TypeScript
18 lines
772 B
TypeScript
import PromptSidePanel from '~/components/Prompts/Groups/GroupSidePanel';
|
|
import AutoSendPrompt from '~/components/Prompts/Groups/AutoSendPrompt';
|
|
import FilterPrompts from '~/components/Prompts/Groups/FilterPrompts';
|
|
import { usePromptGroupsContext } from '~/Providers';
|
|
|
|
export default function PromptsAccordion() {
|
|
const groupsNav = usePromptGroupsContext();
|
|
return (
|
|
<div className="flex h-full w-full flex-col">
|
|
<PromptSidePanel className="mt-2 space-y-2 lg:w-full xl:w-full" {...groupsNav}>
|
|
<FilterPrompts className="items-center justify-center" />
|
|
<div className="flex w-full flex-row items-center justify-end">
|
|
<AutoSendPrompt className="text-xs dark:text-white" />
|
|
</div>
|
|
</PromptSidePanel>
|
|
</div>
|
|
);
|
|
}
|