Variable: LazyItem
constLazyItem:FC<LazyItemProps>
Defined in: components/LazyItem/index.tsx:37
Component
LazyItem
Description
A component that lazy-loads its children when it scrolls into the viewport, with an optional animation.
Param
The component props.
Returns
The rendered LazyItem component.
Example
<LazyItem animation="slide-up">
<img src="image.jpg" alt="Lazy loaded" />
</LazyItem>