You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
841 B
28 lines
841 B
import * as React from 'react';
|
|
import InternalInput, { InputProps, InputRef } from './Input';
|
|
import Group from './Group';
|
|
import Search from './Search';
|
|
import TextArea from './TextArea';
|
|
import Password from './Password';
|
|
|
|
export { InputProps, InputRef } from './Input';
|
|
export { GroupProps } from './Group';
|
|
export { SearchProps } from './Search';
|
|
export { TextAreaProps } from './TextArea';
|
|
export { PasswordProps } from './Password';
|
|
|
|
interface CompoundedComponent
|
|
extends React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> {
|
|
Group: typeof Group;
|
|
Search: typeof Search;
|
|
TextArea: typeof TextArea;
|
|
Password: typeof Password;
|
|
}
|
|
|
|
const Input = InternalInput as CompoundedComponent;
|
|
|
|
Input.Group = Group;
|
|
Input.Search = Search;
|
|
Input.TextArea = TextArea;
|
|
Input.Password = Password;
|
|
export default Input;
|
|
|