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
593 B
22 lines
593 B
import type { App, Plugin } from 'vue'; |
|
import type { AnchorProps } from './Anchor'; |
|
import type { AnchorLinkProps } from './AnchorLink'; |
|
import Anchor from './Anchor'; |
|
import AnchorLink from './AnchorLink'; |
|
|
|
Anchor.Link = AnchorLink; |
|
|
|
/* istanbul ignore next */ |
|
Anchor.install = function (app: App) { |
|
app.component(Anchor.name, Anchor); |
|
app.component(Anchor.Link.name, Anchor.Link); |
|
return app; |
|
}; |
|
|
|
export type { AnchorLinkProps, AnchorProps }; |
|
export { AnchorLink, AnchorLink as Link }; |
|
|
|
export default Anchor as typeof Anchor & |
|
Plugin & { |
|
readonly Link: typeof AnchorLink; |
|
};
|
|
|