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.
21 lines
438 B
21 lines
438 B
import PropTypes from '../_util/vue-types';
|
|
|
|
export default {
|
|
name: 'ACardGrid',
|
|
__ANT_CARD_GRID: true,
|
|
props: {
|
|
prefixCls: PropTypes.string.def('ant-card'),
|
|
},
|
|
render() {
|
|
const { prefixCls = 'ant-card' } = this.$props;
|
|
const classString = {
|
|
[`${prefixCls}-grid`]: true,
|
|
};
|
|
return (
|
|
<div {...{ on: this.$listeners }} class={classString}>
|
|
{this.$slots.default}
|
|
</div>
|
|
);
|
|
},
|
|
};
|