UNPKG

choerodon-ui

Version:

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

23 lines (19 loc) 634 B
import { observer } from 'mobx-react-lite'; import isFunction from 'lodash/isFunction'; var ExpandedRow = observer(function ExpandedRow(props) { var isExpanded = props.isExpanded, _props$children = props.children, children = _props$children === void 0 ? null : _props$children, columnGroups = props.columnGroups, record = props.record; if (isFunction(children)) { var child = children(columnGroups, record, isExpanded); if (child) { return child; } } return children; }); ExpandedRow.displayName = 'ExpandedRow'; export default ExpandedRow; //# sourceMappingURL=ExpandedRow.js.map