2021-12-20 17:21:19 +00:00
|
|
|
import { Input } from '../Input';
|
2021-11-23 05:16:50 +00:00
|
|
|
|
|
|
|
import { InputGroup as MainComponent } from './InputGroup';
|
|
|
|
import { InputGroupAddon } from './InputGroupAddon';
|
|
|
|
import { InputGroupButtonWrapper } from './InputGroupButtonWrapper';
|
|
|
|
|
|
|
|
interface InputGroupSubComponents {
|
|
|
|
Addon: typeof InputGroupAddon;
|
|
|
|
ButtonWrapper: typeof InputGroupButtonWrapper;
|
2021-12-20 17:21:19 +00:00
|
|
|
Input: typeof Input;
|
2022-07-17 23:02:14 +00:00
|
|
|
className: string | undefined;
|
2021-11-23 05:16:50 +00:00
|
|
|
}
|
|
|
|
|
2022-01-17 05:53:32 +00:00
|
|
|
const InputGroup: typeof MainComponent & InputGroupSubComponents =
|
|
|
|
MainComponent as typeof MainComponent & InputGroupSubComponents;
|
2021-11-23 05:16:50 +00:00
|
|
|
|
|
|
|
InputGroup.Addon = InputGroupAddon;
|
|
|
|
InputGroup.ButtonWrapper = InputGroupButtonWrapper;
|
2021-12-20 17:21:19 +00:00
|
|
|
InputGroup.Input = Input;
|
2021-11-23 05:16:50 +00:00
|
|
|
|
|
|
|
export { InputGroup };
|