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/card/index.ts

26 lines
552 B

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;
};