import React, { Component } from 'react';
import PropTypes from 'prop-types';
import RootRuleLib from './RootRuleLib';

class RuleDesign extends Component {

  static propTypes = {
    children: PropTypes.any
  };

  render() {
    const { children } = this.props;
    return (
      <div className="rule-lib-design">
        { children ||  <RootRuleLib /> }
      </div>
    );
  }
}

export default RuleDesign;
