2021-12-20 19:21:19 +02:00
|
|
|
import { Input } from '../Input';
|
2021-11-23 07:16:50 +02: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 19:21:19 +02:00
|
|
|
Input: typeof Input;
|
2021-11-23 07:16:50 +02:00
|
|
|
}
|
|
|
|
|
2021-12-03 14:34:45 +13:00
|
|
|
const InputGroup: typeof MainComponent & InputGroupSubComponents = MainComponent as typeof MainComponent & InputGroupSubComponents;
|
2021-11-23 07:16:50 +02:00
|
|
|
|
|
|
|
InputGroup.Addon = InputGroupAddon;
|
|
|
|
InputGroup.ButtonWrapper = InputGroupButtonWrapper;
|
2021-12-20 19:21:19 +02:00
|
|
|
InputGroup.Input = Input;
|
2021-11-23 07:16:50 +02:00
|
|
|
|
|
|
|
export { InputGroup };
|