File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 11type SectionHeaderProps = {
2+ className ?: string
23 children : string
3- light ?: boolean
44}
55
6- export const SectionHeader = ( {
7- children,
8- light = false ,
9- } : SectionHeaderProps ) => {
6+ export const SectionHeader = ( { className, children } : SectionHeaderProps ) => {
107 return (
118 < h2
12- className = { `self-start text-very-large font-semibold underline ${
13- light ? 'text-zinc-50' : ''
14- } `}
9+ className = { `self-start text-very-large font-semibold underline ${ className } ` }
1510 >
1611 { children }
1712 </ h2 >
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ const Users = () => {
6262 >
6363 < div className = "w-full flex flex-col items-center" >
6464 < div className = "w-full flex flex-col gap-0 sm:gap-4" >
65- < SectionHeader light > Most Active Users</ SectionHeader >
65+ < SectionHeader className = "text-zinc-50" >
66+ Most Active Users
67+ </ SectionHeader >
6668 < div className = "grid grid-cols-1 md:grid-cols-3 gap-4 w-full" >
6769 < div className = "md:col-span-2 grid grid-cols-1 sm:grid-cols-2 gap-4" >
6870 { users . length > 0
You can’t perform that action at this time.
0 commit comments