🎉 first commit
This commit is contained in:
12
app/components/chat/chatExportAndImport/ExportChatButton.tsx
Normal file
12
app/components/chat/chatExportAndImport/ExportChatButton.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { IconButton } from '~/components/ui/IconButton';
|
||||
import WithTooltip from '~/components/ui/Tooltip';
|
||||
|
||||
export const ExportChatButton = ({ exportChat }: { exportChat?: () => void }) => {
|
||||
return (
|
||||
<WithTooltip tooltip="导出聊天">
|
||||
<IconButton title="导出聊天" onClick={() => exportChat?.()}>
|
||||
<div className="i-ph:download-simple text-xl"></div>
|
||||
</IconButton>
|
||||
</WithTooltip>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user