Browse Source

fix(desktop): type issue

Adam 3 months ago
parent
commit
582d9a9622
1 changed files with 1 additions and 1 deletions
  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
 export interface InputProps
   extends ComponentProps<typeof Kobalte.Input>,
   extends ComponentProps<typeof Kobalte.Input>,
-    Pick<ComponentProps<typeof Kobalte>, "value" | "onChange" | "onKeyDown"> {
+    Partial<Pick<ComponentProps<typeof Kobalte>, "value" | "onChange" | "onKeyDown">> {
   label?: string
   label?: string
   hideLabel?: boolean
   hideLabel?: boolean
   description?: string
   description?: string