mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
optimize html, css, svg's, and webp delivery
This commit is contained in:
75 files changed
+452
-331
No files matched your search
@@ -2,6 +2,7 @@ import type { ComponentProps } from "react";
|
||||
import { classNames } from "../../ui/classNames";
|
||||
import type { ButtonProps } from "../Button";
|
||||
import { IconButton } from "../IconButton";
|
||||
import { LazyImage } from "../LazyImage";
|
||||
import styles from "./index.module.css";
|
||||
|
||||
type SidebarIconButtonProps = ButtonProps & {
|
||||
@@ -37,7 +38,7 @@ export function SidebarIconButton({
|
||||
size="major"
|
||||
{...props}
|
||||
>
|
||||
<img alt={alt} src={src} />
|
||||
<LazyImage alt={alt} src={src} />
|
||||
</IconButton>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user