Parcourir la source

fix(desktop): type issue

Adam il y a 3 mois
Parent
commit
582d9a9622
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/ui/src/components/input.tsx

+ 1 - 1
packages/ui/src/components/input.tsx

@@ -4,7 +4,7 @@ import type { ComponentProps } from "solid-js"
 
 export interface InputProps
   extends ComponentProps<typeof Kobalte.Input>,
-    Pick<ComponentProps<typeof Kobalte>, "value" | "onChange" | "onKeyDown"> {
+    Partial<Pick<ComponentProps<typeof Kobalte>, "value" | "onChange" | "onKeyDown">> {
   label?: string
   hideLabel?: boolean
   description?: string