mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-20 15:09:40 +00:00
starter主题-Logo相关
This commit is contained in:
@@ -18,6 +18,7 @@ export default function LazyImage({
|
||||
height,
|
||||
title,
|
||||
onLoad,
|
||||
onClick,
|
||||
style
|
||||
}) {
|
||||
const maxWidth = siteConfig('IMAGE_COMPRESS_WIDTH')
|
||||
@@ -122,7 +123,9 @@ export default function LazyImage({
|
||||
if (style) {
|
||||
imgProps.style = style
|
||||
}
|
||||
|
||||
if (onClick) {
|
||||
imgProps.onClick = onClick
|
||||
}
|
||||
return (
|
||||
<>
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
|
||||
Reference in New Issue
Block a user