mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
added layload offset for flow cell image
This commit is contained in:
parent
ef669cab51
commit
93a1d4104b
2 changed files with 4 additions and 5 deletions
|
@ -9,7 +9,7 @@ interface Props extends IMGProps {
|
|||
}
|
||||
|
||||
const FlowCellImage: FC<Props> = ({ className, children, ...rest }) => (
|
||||
<LazyLoad once className={classNames(styles.wrapper, className)}>
|
||||
<LazyLoad once offset={600} className={classNames(styles.wrapper, className)}>
|
||||
<img {...rest} src={rest.src} alt="" />
|
||||
{children}
|
||||
</LazyLoad>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue