23 lines
857 B
TypeScript
Raw Normal View History

2022-04-04 17:51:07 +08:00
import SvgIcon from './SvgIcon'
const TitleBar = () => {
return (
<div className='flex h-8 w-screen items-center justify-between bg-gray-50'>
<div className='ml-2 text-sm text-gray-500'>YesPlayMusic</div>
<div className='flex h-full'>
<button className='flex w-[2.875rem] items-center justify-center hover:bg-[#e9e9e9]'>
2022-04-05 02:32:13 +08:00
<SvgIcon className='h-3 w-3' name='windows-minimize' />
2022-04-04 17:51:07 +08:00
</button>
<button className='flex w-[2.875rem] items-center justify-center hover:bg-[#e9e9e9]'>
2022-04-05 02:32:13 +08:00
<SvgIcon className='h-3 w-3' name='windows-maximize' />
2022-04-04 17:51:07 +08:00
</button>
<button className='flex w-[2.875rem] items-center justify-center hover:bg-[#c42b1c] hover:text-white'>
<SvgIcon className='h-3 w-3' name='windows-close' />
</button>
</div>
</div>
)
}
export default TitleBar