import React, { useEffect, useState } from 'react'

export default props => {
  return (
    <div style={{display: 'flex', minWidth: '100%'}}>
      <div>{props.title}</div>
      <div style={{flex: 1, padding: '0 16px'}}>{props.children}</div>
    </div>
  )
}
