ant-design-vue/components/card/index.ts

22 lines
456 B
TypeScript
Raw Normal View History

2020-11-01 07:03:33 +00:00
import { App, Plugin } from 'vue';
2019-01-12 03:33:27 +00:00
import Card from './Card';
import Meta from './Meta';
import Grid from './Grid';
2020-10-12 11:19:10 +00:00
2019-01-12 03:33:27 +00:00
Card.Meta = Meta;
Card.Grid = Grid;
/* istanbul ignore next */
2020-10-12 11:19:10 +00:00
Card.install = function(app: App) {
2020-06-22 15:22:52 +00:00
app.component(Card.name, Card);
app.component(Meta.name, Meta);
app.component(Grid.name, Grid);
2020-10-13 11:14:56 +00:00
return app;
2019-01-12 03:33:27 +00:00
};
2020-11-01 07:03:33 +00:00
export default Card as typeof Card &
Plugin & {
readonly Meta: typeof Meta;
readonly Grid: typeof Grid;
};