Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+2
-1
@@ -1,4 +1,5 @@
|
||||
import { ReactNode } from "react";
|
||||
import { cn } from "~/lib/utils";
|
||||
import { sanitizeIconSvg } from "~/utils/html-sanitizer";
|
||||
|
||||
interface Props {
|
||||
@@ -13,7 +14,7 @@ export default function SidebarIcon({ className, item }: Props) {
|
||||
let icon = item.icon;
|
||||
let title = item.title;
|
||||
if (typeof icon !== "string") {
|
||||
return icon;
|
||||
return icon ? <span className={cn("inline-flex shrink-0 [&>*]:size-full", className)}>{icon}</span> : null;
|
||||
}
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in new issue
Block a user