import React from 'react';
import styles from './index.less';

export default ({
  title,
  action,
}) => {
  return (
    <div className={styles.c}>
      <div className={styles.title}>{ title }</div>
      {
        action
      }
    </div>
  )
}