@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
26 lines (25 loc) • 1.11 kB
TypeScript
import { ThemeProps } from "../../core/system/index.types.js";
import { Component, HTMLStyledProps } from "../../core/components/index.types.js";
import "../../core/index.js";
import { FieldProps } from "../field/field.js";
import { InputStyle } from "./input.style.js";
import { UseInputBorderProps } from "./use-input-border.js";
import "../../index.js";
import * as react828 from "react";
//#region src/components/input/input.d.ts
interface InputProps extends Omit<HTMLStyledProps<"input">, "size">, ThemeProps<InputStyle>, UseInputBorderProps, FieldProps {
/**
* The native HTML `size` attribute to be passed to the `input`.
*/
htmlSize?: number;
}
declare const InputPropsContext: react828.Context<Partial<InputProps> | undefined>, useInputPropsContext: () => Partial<InputProps> | undefined;
/**
* `Input` is a component used to obtain text input from the user.
*
* @see https://yamada-ui.com/docs/components/input
*/
declare const Input: Component<"input", InputProps>;
//#endregion
export { Input, InputProps, InputPropsContext, useInputPropsContext };
//# sourceMappingURL=input.d.ts.map