UNPKG

@chakra-ui/react

Version:

Responsive and accessible React UI components built with React and Emotion

18 lines (17 loc) 798 B
import type { BoxProps } from "../box"; import { type InputAddonProps } from "./input-addon"; import { type InputElementProps } from "./input-element"; export interface InputGroupProps extends BoxProps { startElementProps?: InputElementProps; endElementProps?: InputElementProps; startElement?: React.ReactNode; endElement?: React.ReactNode; startAddon?: React.ReactNode; startAddonProps?: InputAddonProps; endAddon?: React.ReactNode; endAddonProps?: InputAddonProps; children: React.ReactElement<InputElementProps>; startOffset?: InputElementProps["paddingStart"]; endOffset?: InputElementProps["paddingEnd"]; } export declare const InputGroup: import("react").ForwardRefExoticComponent<InputGroupProps & import("react").RefAttributes<HTMLDivElement>>;