chore(react/collections): get list view to show something

This commit is contained in:
Elian Doran
2025-08-30 15:44:49 +03:00
parent ecf44deecf
commit 09fd1c7628
5 changed files with 91 additions and 68 deletions

View File

@@ -1,7 +1,8 @@
interface IconProps {
icon?: string;
className?: string;
}
export default function Icon({ icon }: IconProps) {
return <span class={icon ?? "bx bx-empty"}></span>
export default function Icon({ icon, className }: IconProps) {
return <span class={`${icon ?? "bx bx-empty"} ${className ?? ""}`}></span>
}