2021-06-26 01:35:40 +00:00
|
|
|
import type { App, Plugin } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Collapse from './Collapse';
|
|
|
|
import CollapsePanel from './CollapsePanel';
|
2021-06-23 15:08:16 +00:00
|
|
|
export type { CollapseProps } from './Collapse';
|
|
|
|
export type { CollapsePanelProps } from './CollapsePanel';
|
2018-02-01 10:18:05 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Collapse.Panel = CollapsePanel;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2021-06-23 15:08:16 +00:00
|
|
|
Collapse.install = function (app: App) {
|
2020-07-15 07:27:35 +00:00
|
|
|
app.component(Collapse.name, Collapse);
|
|
|
|
app.component(CollapsePanel.name, CollapsePanel);
|
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
|
|
|
|
2021-06-23 15:08:16 +00:00
|
|
|
export { CollapsePanel };
|
2020-11-01 07:03:33 +00:00
|
|
|
export default Collapse as typeof Collapse &
|
|
|
|
Plugin & {
|
|
|
|
readonly Panel: typeof CollapsePanel;
|
|
|
|
};
|