@coinmeca/ui
Version:
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
48 lines • 1.27 kB
TypeScript
export interface Input {
style?: any;
form?: string;
fold?: boolean;
foldPosition?: "left" | "center" | "right";
type?: string;
inputMode?: "email" | "text" | "search" | "none" | "tel" | "url" | "numeric" | "decimal";
value?: number | string;
align?: "left" | "center" | "right";
scale?: number;
gap?: number;
placeholder?: number | string;
clearable?: boolean;
clearPosition?: "left" | "right";
min?: number;
max?: number;
step?: number;
fix?: number;
length?: number;
left?: {
style?: object;
width?: number;
children?: any;
};
right?: {
style?: object;
width?: number;
children?: any;
};
unit?: string;
show?: "desktop" | "laptop" | "tablet" | "mobile";
hide?: "desktop" | "laptop" | "tablet" | "mobile";
onClick?: Function;
onChange?: Function;
onFocus?: Function;
onFocusOut?: Function;
onBlur?: Function;
onClear?: Function;
onKeyDown?: Function;
error?: boolean;
message?: any;
autoFocus?: boolean;
lock?: boolean;
readOnly?: boolean;
disabled?: boolean;
}
export default function Input(props: Input): import("react").JSX.Element;
//# sourceMappingURL=Input.d.ts.map