import React from 'react'

type Props = {
  title?: string
  status?: string
}

export const TopBar: React.FC<Props> = ({ title = 'PC-98 VISUAL NOVEL', status = 'IDLE' }) => {
  return (
    <div className="topbar window-border">
      <div className="topbar-left">
        <span className="led led-green" />
        <span className="menu-item">FILE</span>
        <span className="menu-item">SAVE</span>
        <span className="menu-item">LOAD</span>
        <span className="menu-item">CONFIG</span>
      </div>
      <div className="topbar-title">{title}</div>
      <div className="topbar-right">
        <span className="status">{status}</span>
      </div>
    </div>
  )
}
