Strona działa najlepiej z włączonym JavaScript.
Strona główna
Odkrywaj
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10205501451
/
Lazy_Timer
Obserwuj
1
Polub
0
Forkuj
0
Kod
Zgłoszenia
0
Oczekujące zmiany
0
Wydania
0
Wiki
Aktywność
Przeglądaj źródła
fe-25 网页头组件
master
Chunxian Zhang
2 lat temu
rodzic
46e1dbb8d5
commit
065b84f32a
1 zmienionych plików
z
12 dodań
i
0 usunięć
Widok podzielony
Opcje porównania
Pokaż statystyki
Ściągnij plik aktualizacji
Ściągnij plik porównania
+12
-0
lazy-timer-fe/src/components/Header.jsx
+ 12
- 0
lazy-timer-fe/src/components/Header.jsx
Wyświetl plik
@ -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
;
Napisz
Podgląd
Ładowanie…
Anuluj
Zapisz