UNPKG

@atlaskit/renderer

Version:
15 lines 491 B
import React, { PureComponent, Children } from 'react'; import { DecisionList as AkDecisionList } from '@atlaskit/task-decision'; // Ignored via go/ees005 // eslint-disable-next-line @repo/internal/react/no-class-components export default class DecisionList extends PureComponent { render() { const { children } = this.props; if (Children.count(children) === 0) { return null; } return /*#__PURE__*/React.createElement(AkDecisionList, null, children); } }