@lucsoft/webgen
Version:
Collection of lucsofts Components
13 lines (12 loc) • 533 B
TypeScript
import { Color } from "../../lib/Color";
import { Component } from "../../types";
import '../../css/input.webgen.static.css';
export declare const Input: ({ color, value, changeOn, blurOn, placeholder, type, autoFocus }: {
type?: "text" | "email" | "password" | "url" | undefined;
color?: Color | undefined;
placeholder: string;
value?: string | undefined;
autoFocus?: boolean | undefined;
blurOn?: ((value: string) => void) | undefined;
changeOn?: ((value: string) => void) | undefined;
}) => Component;