UNPKG

@spark-web/float-input

Version:

--- title: Float Input storybookPath: forms-float-input--default isExperimentalPackage: true ---

5 lines (4 loc) 386 B
import type { TextInputProps } from '@spark-web/text-input'; import type { UseFloatInputProps } from "./use-float-input.js"; export type FloatInputProps = UseFloatInputProps & Omit<TextInputProps, 'onChange' | 'value' | 'type' | 'inputMode'>; export declare const FloatInput: import("react").ForwardRefExoticComponent<FloatInputProps & import("react").RefAttributes<HTMLInputElement>>;