mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-03 02:59:07 +08:00
feat(video): add onPress handler to video send button
Handle video creation when the send button is pressed
This commit is contained in:
parent
2f9b174095
commit
8b875935d0
@ -90,7 +90,13 @@ export const VideoPanel = ({ provider, video }: VideoPanelProps) => {
|
||||
</div>
|
||||
|
||||
<Tooltip content={t('common.send')} closeDelay={0}>
|
||||
<Button color="primary" radius="full" isIconOnly isLoading={isProcessing} className="h-6 w-6 min-w-0">
|
||||
<Button
|
||||
color="primary"
|
||||
radius="full"
|
||||
isIconOnly
|
||||
isLoading={isProcessing}
|
||||
className="h-6 w-6 min-w-0"
|
||||
onPress={handleCreateVideo}>
|
||||
<ArrowUp size={16} className="text-primary-foreground" />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user