@cn-ui/core
Version:
The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.
20 lines (19 loc) • 633 B
TypeScript
import { type BaseFormItemType } from "../form/BaseFormItemType";
export interface InputNumberProps extends BaseFormItemType {
min?: number;
max?: number;
step?: number;
precision?: number | {
min: number;
max?: number;
} | {
min?: number;
max: number;
};
controls?: boolean;
locale?: string;
formatOptions?: Intl.NumberFormatOptions;
parser?: (str: string) => number;
allowMouseWheel?: boolean;
}
export declare const InputNumber: import("solid-js").Component<import("@cn-ui/reactive").OriginComponentOutputType<InputNumberProps, HTMLDivElement, number>>;