mirror of
				https://github.com/walkxcode/dashboard-icons.git
				synced 2025-10-31 16:57:58 +01:00 
			
		
		
		
	Format codebase
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| import { cn } from "@/lib/utils" | ||||
| import React from "react" | ||||
| import type React from "react" | ||||
|  | ||||
| interface BackgroundWrapperProps { | ||||
| 	children: React.ReactNode | ||||
|   | ||||
| @@ -309,7 +309,10 @@ export function IconDetails({ icon, iconData, authorData }: IconDetailsProps) { | ||||
| 										<div className="flex flex-wrap gap-2"> | ||||
| 											{iconData.categories.map((category) => ( | ||||
| 												<Link key={category} href={`/icons?category=${encodeURIComponent(category)}`} className="cursor-pointer"> | ||||
| 													<Badge variant="outline" className="inline-flex items-center border border-primary/20 hover:border-primary px-2.5 py-0.5 text-sm"> | ||||
| 													<Badge | ||||
| 														variant="outline" | ||||
| 														className="inline-flex items-center border border-primary/20 hover:border-primary px-2.5 py-0.5 text-sm" | ||||
| 													> | ||||
| 														{category | ||||
| 															.split("-") | ||||
| 															.map((word) => word.charAt(0).toUpperCase() + word.slice(1)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user