1 parent 4b27c5d commit b779967Copy full SHA for b779967
1 file changed
apps/sim/components/workflow/workflow-preview-action.tsx
@@ -3,10 +3,13 @@
3
import { type ComponentProps, forwardRef } from 'react'
4
import { Button, Tooltip } from '@sim/emcn'
5
6
-type WorkflowPreviewActionProps = Omit<
7
- ComponentProps<typeof Button>,
8
- 'variant' | 'size' | 'iconSize' | 'iconPadding' | 'className'
9
-> & { 'aria-label': string }
+interface WorkflowPreviewActionProps
+ extends Omit<
+ ComponentProps<typeof Button>,
+ 'variant' | 'size' | 'iconSize' | 'iconPadding' | 'type' | 'className'
10
+ > {
11
+ 'aria-label': string
12
+}
13
14
/** Solid corner action shared by embedded workflow previews. */
15
export const WorkflowPreviewAction = forwardRef<HTMLButtonElement, WorkflowPreviewActionProps>(
0 commit comments