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.
ant-design-vue/components/float-button/index.ts

43 lines
1008 B

import type { App, Plugin } from 'vue';
import FloatButton from './FloatButton';
import FloatButtonGroup from './FloatButtonGroup';
import BackTop from './BackTop';
import type {
FloatButtonProps,
FloatButtonShape,
FloatButtonType,
FloatButtonGroupProps,
BackTopProps,
} from './interface';
import type { SizeType as FloatButtonSize } from '../config-provider';
export type {
FloatButtonProps,
FloatButtonShape,
FloatButtonType,
FloatButtonGroupProps,
BackTopProps,
FloatButtonSize,
};
FloatButton.Group = FloatButtonGroup;
FloatButton.BackTop = BackTop;
/* istanbul ignore next */
FloatButton.install = function (app: App) {
app.component(FloatButton.name, FloatButton);
app.component(FloatButtonGroup.name, FloatButtonGroup);
app.component(BackTop.name, BackTop);
return app;
};
export { FloatButtonGroup, BackTop };
export default FloatButton as typeof FloatButton &
Plugin & {
readonly Group: typeof FloatButtonGroup;
readonly BackTop: typeof BackTop;
};