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.
21 lines
651 B
21 lines
651 B
import type { App, Plugin } from 'vue';
|
|
import Collapse, { collapseProps } from './Collapse';
|
|
import CollapsePanel, { collapsePanelProps } from './CollapsePanel';
|
|
export type { CollapseProps } from './Collapse';
|
|
export type { CollapsePanelProps } from './CollapsePanel';
|
|
|
|
Collapse.Panel = CollapsePanel;
|
|
|
|
/* istanbul ignore next */
|
|
Collapse.install = function (app: App) {
|
|
app.component(Collapse.name, Collapse);
|
|
app.component(CollapsePanel.name, CollapsePanel);
|
|
return app;
|
|
};
|
|
|
|
export { CollapsePanel, collapseProps, collapsePanelProps };
|
|
export default Collapse as typeof Collapse &
|
|
Plugin & {
|
|
readonly Panel: typeof CollapsePanel;
|
|
};
|