import { forwardRef } from "react"; import { InputNumbers, InputNumbersProps } from "../input-numbers"; interface InchInputProps extends Omit { value?: number; onChange?: (value: number) => void; } const InchInput = forwardRef(function InchInput( { value = 0, onChange, ...props }, ref, ) { return ( onChange?.(values[0])} suffix={["in"]} {...props} /> ); }); export { InchInput }; export type { InchInputProps };