UNPKG

546 BTypeScriptView Raw
1import React from 'react';
2import { LabIcon } from '../icon';
3/**
4 * InputGroup component properties
5 */
6export interface IInputGroupProps extends React.InputHTMLAttributes<HTMLInputElement> {
7 /**
8 * Pass a ref to the input element
9 */
10 inputRef?: React.RefObject<HTMLInputElement>;
11 /**
12 * Right icon adornment
13 */
14 rightIcon?: string | LabIcon;
15}
16/**
17 * InputGroup component
18 *
19 * @param props Component properties
20 * @returns Component
21 */
22export declare function InputGroup(props: IInputGroupProps): JSX.Element;