Add link dialog for measure evidences
This commit is contained in:
@@ -36,7 +36,7 @@ export function TabItem({
|
||||
asChild,
|
||||
active,
|
||||
...props
|
||||
}: AsChildProps<{ active?: boolean }>) {
|
||||
}: AsChildProps<{ active?: boolean; onClick?: () => void }>) {
|
||||
const Component = asChild ? Slot : "div";
|
||||
return <Component {...props} className={cls.item({ active })} />;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ type Props =
|
||||
| BaseProps<never, ComponentProps<typeof Input>>
|
||||
| BaseProps<"text", ComponentProps<typeof Input>>
|
||||
| BaseProps<"email", ComponentProps<typeof Input>>
|
||||
| BaseProps<"url", ComponentProps<typeof Input>>
|
||||
| BaseProps<"password", ComponentProps<typeof Input>>
|
||||
| BaseProps<"textarea", ComponentProps<typeof Textarea>>
|
||||
| BaseProps<"number", ComponentProps<typeof Input>>
|
||||
|
||||
Reference in New Issue
Block a user