@antdp/antdp-ui
Version:
基于antd封装的组件
23 lines • 774 B
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["children", "className"];
import React, { Component } from 'react';
import classNames from 'classnames';
import { Card } from 'antd';
import './index.css';
import { jsx as _jsx } from "react/jsx-runtime";
export default class CardPro extends Component {
render() {
var _this$props = this.props,
{
children,
className
} = _this$props,
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded);
return /*#__PURE__*/_jsx(Card, _extends({
className: classNames(className, 'antdp-KCardPro')
}, otherProps, {
children: children
}));
}
}