mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
lazyimg title
This commit is contained in:
@@ -16,6 +16,7 @@ export default function LazyImage({
|
||||
className,
|
||||
width,
|
||||
height,
|
||||
title,
|
||||
onLoad,
|
||||
style
|
||||
}) {
|
||||
@@ -66,6 +67,10 @@ export default function LazyImage({
|
||||
imgProps.id = id
|
||||
}
|
||||
|
||||
if (title) {
|
||||
imgProps.title = title
|
||||
}
|
||||
|
||||
if (width && width !== 'auto') {
|
||||
imgProps.width = width
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user