Add link dialog for measure evidences

This commit is contained in:
Jonathan
2025-06-17 21:35:31 +02:00
parent ac65ccd213
commit bd1e7396ae
7 changed files with 305 additions and 88 deletions

View File

@@ -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 })} />;
}

View File

@@ -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>>