mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
21 lines
438 B
Vue
21 lines
438 B
Vue
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>
|
|
);
|
|
},
|
|
};
|