1 | import _extends from "@babel/runtime/helpers/extends";
|
2 | import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
3 | import React from 'react';
|
4 | import classNames from 'classnames';
|
5 | import { getPrefixCls } from '../configure';
|
6 |
|
7 | var 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 |
|
19 | Grid.displayName = 'CardGrid';
|
20 | export default Grid;
|
21 |
|