import { StyledComponentProps } from "../../types/shared.js"; import { ComponentPropsWithRef } from "react"; //#region src/components/input/types.d.ts /** * Props for the Input component. * A styled HTML input element with support for various input types and states. * * Extends standard HTML input attributes while omitting the native 'size' attribute * to avoid conflicts with theme size variants. Use className or style for sizing instead. * * @example * ```tsx * // Basic text input * * * // Email input with validation * * * // Password input * * * // Number input with min/max * * * // Disabled input * * * // Input with custom styling * * * // Input with ref for direct access * inputRef.current?.select()} * /> * ``` * * Supported input types: text, email, password, number, date, time, search, * tel, url, color, file, checkbox, radio, range, and more. */ type InputProps = StyledComponentProps, 'size'>>; //#endregion export { InputProps };