mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 03:07:05 +00:00
14 lines
448 B
TypeScript
14 lines
448 B
TypeScript
import WithTooltip from '~/components/ui/Tooltip';
|
|
import { IconButton } from '~/components/ui/IconButton';
|
|
import React from 'react';
|
|
|
|
export const ExportChatButton = ({ exportChat }: { exportChat?: () => void }) => {
|
|
return (
|
|
<WithTooltip tooltip="Export Chat">
|
|
<IconButton title="Export Chat" onClick={() => exportChat?.()}>
|
|
<div className="i-ph:download-simple text-xl"></div>
|
|
</IconButton>
|
|
</WithTooltip>
|
|
);
|
|
};
|