import React from 'react';
import '@platformuiserver/platformui.assets/css/index.less'
import styles from './style.module.less'

export default function DividerBox (props) {
  const { title, children } = props

  return (
    <div className={styles.dividerBox}>
      <div className={styles.title}>
        {title}
      </div>
      <div className={styles.content}>
        {children}
      </div>
    </div>
  );
}
