import Icon from './Icon'

export default ({ title, icon }: {title: string, icon: string}) => {
  console.log('title:', title, icon)

  return (
    <div >
      <Icon name={icon} />
      <span style="font-size: 16px" >{title}</span>
    </div>
  )
}
