This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10205501451
/
Lazy_Timer
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fe-25 网页头组件
master
Chunxian Zhang
2 years ago
parent
46e1dbb8d5
commit
065b84f32a
1 changed files
with
12 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
lazy-timer-fe/src/components/Header.jsx
+ 12
- 0
lazy-timer-fe/src/components/Header.jsx
View File
@ -0,0 +1,12 @@
import
React
from
'react'
;
const
Header
=
(
{
category
,
title
}
)
=>
(
<
div
className
=
" mb-10"
>
<
p
className
=
"text-lg text-gray-400"
>
{
category
}
<
/
p
>
<
p
className
=
"text-3xl font-extrabold tracking-tight text-slate-900"
>
{
title
}
<
/
p
>
<
/
div
>
)
;
export
default
Header
;
Write
Preview
Loading…
Cancel
Save