index.js 701 B

1234567891011121314151617181920
  1. import Input from './Input';
  2. import Group from './Group';
  3. import Search from './Search';
  4. import TextArea from './TextArea';
  5. import Password from './Password';
  6. Input.Group = Group;
  7. Input.Search = Search;
  8. Input.TextArea = TextArea;
  9. Input.Password = Password;
  10. /* istanbul ignore next */
  11. Input.install = function (app) {
  12. app.component(Input.name, Input);
  13. app.component(Input.Group.name, Input.Group);
  14. app.component(Input.Search.name, Input.Search);
  15. app.component(Input.TextArea.name, Input.TextArea);
  16. app.component(Input.Password.name, Input.Password);
  17. return app;
  18. };
  19. export { Group as InputGroup, Search as InputSearch, TextArea as Textarea, Password as InputPassword };
  20. export default Input;