jb-number-input-react
Version:
number input react component
16 lines (15 loc) • 561 B
TypeScript
import { JBInputWebComponent, ValidationItem } from "jb-input";
import { ValidationValue } from "jb-input/types";
import { RefObject } from "react";
export type JBInputAttributes = {
message?: string;
value: string | number | null | undefined;
validationList?: ValidationItem<ValidationValue>[];
type?: string;
placeholder?: string;
disabled?: boolean;
inputmode?: string;
label?: string;
name?: string;
};
export declare function useJBInputAttribute(element: RefObject<JBInputWebComponent>, props: JBInputAttributes): void;