feat: add Redo2Icon to WorkflowEditorToolbar for improved redo functionality
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import type { ReactNode } from "react"
|
import type { ReactNode } from "react"
|
||||||
import {
|
import {
|
||||||
|
Redo2Icon,
|
||||||
RotateCcwIcon,
|
RotateCcwIcon,
|
||||||
SaveIcon,
|
SaveIcon,
|
||||||
SendIcon,
|
SendIcon,
|
||||||
@@ -48,6 +49,7 @@ export function WorkflowEditorToolbar({
|
|||||||
撤销
|
撤销
|
||||||
</Button>
|
</Button>
|
||||||
<Button type="button" variant="ghost" size="sm" className="h-7 shrink-0 px-2 text-xs" disabled={redoDisabled} onClick={onRedo}>
|
<Button type="button" variant="ghost" size="sm" className="h-7 shrink-0 px-2 text-xs" disabled={redoDisabled} onClick={onRedo}>
|
||||||
|
<Redo2Icon className="size-3.5" />
|
||||||
重做
|
重做
|
||||||
</Button>
|
</Button>
|
||||||
<Button type="button" variant="ghost" size="sm" className="h-7 shrink-0 px-2 text-xs" disabled={restoreDefaultDisabled} onClick={onRestoreDefault}>
|
<Button type="button" variant="ghost" size="sm" className="h-7 shrink-0 px-2 text-xs" disabled={restoreDefaultDisabled} onClick={onRestoreDefault}>
|
||||||
|
|||||||
Reference in New Issue
Block a user