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