UNPKG

@toyu-ui/solid

Version:

<p align="center"> <h1><span style="color: #4a90e2;">T</span><span style="color: #007aff;">Y</span>UI</h1> </p>

20 lines (19 loc) 797 B
import { JSX } from 'solid-js'; import { TyuiInputAppearance, TyuiInputEvent, TyuiInputSize, TyuiInputType } from '@toyu-ui/elements/input'; export type InputProps = { appearance?: TyuiInputAppearance | undefined; defaultValue?: string | undefined; disabled?: boolean | undefined; invalid?: boolean | undefined; name?: string | undefined; onChange?: ((event: Event) => void) | undefined; onInput?: ((event: TyuiInputEvent) => void) | undefined; placeholder?: string | undefined; readonly?: boolean | undefined; required?: boolean | undefined; size?: TyuiInputSize | undefined; type?: TyuiInputType | undefined; value?: string | undefined; children?: JSX.Element | undefined; }; export declare function Input(props: InputProps): JSX.Element;