blob: 89d720669b6ab125b89f1780887067d6a5709c88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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>
)
}
|