Skip to content

Commit ef148b6

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(ui): align shared control props with component conventions
1 parent b199448 commit ef148b6

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-content/components/browser-session

‎apps/sim/app/workspace/[workspaceId]/home/components/mothership-view/components/resource-content/components/browser-session/browser-toolbar-button.tsx‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
import { type ComponentProps, forwardRef } from 'react'
44
import { Button, cn } from '@sim/emcn'
55

6-
type BrowserToolbarButtonProps = Omit<
7-
ComponentProps<typeof Button>,
8-
'variant' | 'size' | 'iconSize' | 'iconPadding'
9-
> & {
6+
interface BrowserToolbarButtonProps
7+
extends Omit<
8+
ComponentProps<typeof Button>,
9+
'variant' | 'size' | 'iconSize' | 'iconPadding' | 'type'
10+
> {
1011
'aria-label': string
1112
}
1213

0 commit comments

Comments
 (0)