({ className, type, size, ref, ...props }: InputProps)
| 26 | } |
| 27 | |
| 28 | const Input = ({ className, type, size, ref, ...props }: InputProps) => { |
| 29 | return ( |
| 30 | <input |
| 31 | type={type} |
| 32 | className={cn(inputVariants({ size, className }))} |
| 33 | ref={ref} |
| 34 | {...props} |
| 35 | /> |
| 36 | ); |
| 37 | }; |
| 38 | |
| 39 | export { Input, inputVariants }; |