We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29360cd commit 4c8e4f8Copy full SHA for 4c8e4f8
apps/playground/src/pages/Home.tsx
@@ -98,7 +98,9 @@ export const Home = () => {
98
>
99
<CategoryIcon name={category} />
100
{category}
101
- <span className="text-xs text-muted-foreground">
+ <span
102
+ className={`text-xs ${activeCategory === category ? 'text-primary' : 'text-muted-foreground'}`}
103
+ >
104
({exampleCategories[category as keyof typeof exampleCategories].length})
105
</span>
106
</button>
0 commit comments