1 | import React from 'react';
|
2 | import { LabIcon } from '../icon';
|
3 | /**
|
4 | * InputGroup component properties
|
5 | */
|
6 | export 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 | */
|
22 | export declare function InputGroup(props: IInputGroupProps): JSX.Element;
|