UNPKG

@veracity/vui

Version:

Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.

24 lines (23 loc) 1 kB
import { SystemProps } from "../system/system.js"; import { VuiComponent } from "../core/vui.js"; import "../core/index.js"; import { InputProps } from "./input.types.js"; import { HelpText } from "./helpText.js"; import { InputIcon } from "./inputIcon.js"; import { InputInput } from "./inputInput.js"; import "../index.js"; //#region src/input/input.d.ts declare const InputBase: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, SystemProps, never>; /** * Displays an input element wrapped in a div to allow extra content, like counter, side icons or buttons. * Forwards many relevant props to the inner input. Handles different states, like loading or error. * Exposes some props to the children via context. */ declare const Input: VuiComponent<'div', InputProps> & { Icon: typeof InputIcon; Input: typeof InputInput; HelpText: typeof HelpText; }; //#endregion export { Input, Input as default, InputBase }; //# sourceMappingURL=input.d.ts.map