2020-11-01 07:03:33 +00:00
|
|
|
import { App, Plugin } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Dropdown from './dropdown';
|
|
|
|
import DropdownButton from './dropdown-button';
|
2018-01-29 10:57:20 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
export { DropdownProps } from './dropdown';
|
|
|
|
export { DropdownButtonProps } from './dropdown-button';
|
2018-01-29 10:57:20 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Dropdown.Button = DropdownButton;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2020-10-15 09:58:05 +00:00
|
|
|
Dropdown.install = function(app: App) {
|
2020-06-20 07:14:51 +00:00
|
|
|
app.component(Dropdown.name, Dropdown);
|
|
|
|
app.component(DropdownButton.name, DropdownButton);
|
2020-10-13 11:14:56 +00:00
|
|
|
return app;
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2018-09-19 05:21:57 +00:00
|
|
|
|
2020-11-01 07:03:33 +00:00
|
|
|
export default Dropdown as typeof Dropdown &
|
|
|
|
Plugin & {
|
|
|
|
readonly Button: typeof DropdownButton;
|
|
|
|
};
|