UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

24 lines (18 loc) 557 B
import isFunction from 'lodash/isFunction'; var ExpandedRow = function ExpandedRow(props) { var isExpanded = props.isExpanded, _props$children = props.children, children = _props$children === void 0 ? null : _props$children, columns = props.columns, record = props.record, lock = props.lock; if (isFunction(children)) { var child = children(columns, record, isExpanded, lock); if (child) { return child; } } return children; }; export default ExpandedRow; //# sourceMappingURL=ExpandedRow.js.map