UNPKG

758 BJavaScriptView Raw
1import _extends from "@babel/runtime/helpers/extends";
2import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3import React from 'react';
4import classNames from 'classnames';
5import { getPrefixCls } from '../configure';
6
7var Grid = function Grid(props) {
8 var customizePrefixCls = props.prefixCls,
9 className = props.className,
10 others = _objectWithoutProperties(props, ["prefixCls", "className"]);
11
12 var prefixCls = getPrefixCls('card', customizePrefixCls);
13 var classString = classNames("".concat(prefixCls, "-grid"), className);
14 return React.createElement("div", _extends({}, others, {
15 className: classString
16 }));
17};
18
19Grid.displayName = 'CardGrid';
20export default Grid;
21//# sourceMappingURL=Grid.js.map