mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 04:58:16 +08:00
26 lines
552 B
TypeScript
26 lines
552 B
TypeScript
import type { App, Plugin } from 'vue';
|
|
import Card from './Card';
|
|
import Meta from './Meta';
|
|
import Grid from './Grid';
|
|
|
|
export type { CardProps } from './Card';
|
|
|
|
Card.Meta = Meta;
|
|
Card.Grid = Grid;
|
|
|
|
/* istanbul ignore next */
|
|
Card.install = function (app: App) {
|
|
app.component(Card.name, Card);
|
|
app.component(Meta.name, Meta);
|
|
app.component(Grid.name, Grid);
|
|
return app;
|
|
};
|
|
|
|
export { Meta as CardMeta, Grid as CardGrid };
|
|
|
|
export default Card as typeof Card &
|
|
Plugin & {
|
|
readonly Meta: typeof Meta;
|
|
readonly Grid: typeof Grid;
|
|
};
|