vuecssuiant-designantdreactantantd-vueenterprisefrontendui-designvue-antdvue-antd-uivue3vuecomponent
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.
22 lines
685 B
22 lines
685 B
import type { App, Plugin } from 'vue'; |
|
import Dropdown from './dropdown'; |
|
import DropdownButton from './dropdown-button'; |
|
import { dropdownProps, dropdownButtonProps } from './props'; |
|
export type { DropdownProps } from './dropdown'; |
|
export type { DropdownButtonProps } from './dropdown-button'; |
|
|
|
Dropdown.Button = DropdownButton; |
|
|
|
/* istanbul ignore next */ |
|
Dropdown.install = function (app: App) { |
|
app.component(Dropdown.name, Dropdown); |
|
app.component(DropdownButton.name, DropdownButton); |
|
return app; |
|
}; |
|
|
|
export { DropdownButton, dropdownProps, dropdownButtonProps }; |
|
|
|
export default Dropdown as typeof Dropdown & |
|
Plugin & { |
|
readonly Button: typeof DropdownButton; |
|
};
|
|
|