Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 33x 33x 33x 33x 33x 33x | import { useFocusGesture } from "../../gestures/use-focus-gesture" import { useHoverGesture } from "../../gestures/use-hover-gesture" import { useTapGesture } from "../../gestures/use-tap-gesture" import { useViewport } from "./viewport/use-viewport" import { makeRenderlessComponent } from "../utils/make-renderless-component" import { FeatureComponents } from "./types" export const gestureAnimations: FeatureComponents = { inView: makeRenderlessComponent(useViewport), tap: makeRenderlessComponent(useTapGesture), focus: makeRenderlessComponent(useFocusGesture), hover: makeRenderlessComponent(useHoverGesture), } |