@netdata/netdata-ui
Version:
netdata UI kit
16 lines (13 loc) • 402 B
JavaScript
import React from "react"
import Flex from "@/components/templates/flex"
import Intersection from "."
export const Basic = () => (
<Flex height="3000px" column>
<Intersection fallback="visible outside the viewport" padding={[8, 15]} border>
Visible inside the viewport. Scroll down and see the inspect element
</Intersection>
</Flex>
)
export default {
component: Intersection,
}