UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

22 lines (21 loc) 916 B
import { default as React } from 'react'; import { CreateWuiProps } from '../System'; import { DefaultFieldStylesProps } from '../../utils/field-styles'; export interface InputTextOptions extends DefaultFieldStylesProps { autoFocus?: boolean; disabled?: boolean; icon?: JSX.Element; iconPlacement?: 'left' | 'right'; isClearable?: boolean; name?: string; onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void; onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void; placeholder?: string; transparent?: boolean; type?: string; value?: string; } export type InputTextProps = CreateWuiProps<'input', InputTextOptions>; export declare const InputText: import('../System').CreateWuiComponent<"input", InputTextProps>;