1
0
Fork 0
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:
Fedor Katurov 2021-11-06 18:13:43 +07:00
parent ef669cab51
commit 93a1d4104b
2 changed files with 4 additions and 5 deletions

View file

@ -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>