@yamada-ui/input
Version:
Yamada UI input component
40 lines (37 loc) • 1 kB
text/typescript
import * as _yamada_ui_core from '@yamada-ui/core';
import { HTMLUIProps } from '@yamada-ui/core';
interface InputElementOptions {
/**
* If `true`, the element clickable.
*
* @default false
*/
clickable?: boolean;
/**
* If `true`, the element clickable.
*
* @default false
*
* @deprecated Use `clickable` instead.
*/
isClick?: boolean;
/**
* If `true`, the element clickable.
*
* @default false
*
* @deprecated Use `clickable` instead.
*/
isClickable?: boolean;
/**
* The placement of the element.
*
* @default 'left'
*/
placement?: "left" | "right";
}
interface InputElementProps extends HTMLUIProps, InputElementOptions {
}
declare const InputLeftElement: _yamada_ui_core.Component<"div", InputElementProps>;
declare const InputRightElement: _yamada_ui_core.Component<"div", InputElementProps>;
export { type InputElementProps, InputLeftElement, InputRightElement };