feat: 一些适配

This commit is contained in:
Forrest committed 2026-01-29 21:25:36 +08:00
1 parent 26fbfd2c98
commit f3994a1a72
14 files changed
+1580 -242

No files matched your search

+6 -2
View File
@@ -1,10 +1,14 @@
import './TitleBar.scss'
function TitleBar() {
interface TitleBarProps {
title?: string
}
function TitleBar({ title }: TitleBarProps = {}) {
return (
<div className="title-bar">
<img src="./logo.png" alt="WeFlow" className="title-logo" />
<span className="titles">WeFlow</span>
<span className="titles">{title || 'WeFlow'}</span>
</div>
)
}