2024-10-14 12:38:53 +08:00

17 lines
317 B
TypeScript

'use client'
import { useRef } from 'react'
import { useScrollIntersection } from './hooks'
const IntersectionLine = () => {
const ref = useRef<HTMLDivElement>(null)
useScrollIntersection(ref)
return (
<div ref={ref} className='mb-4 h-[1px] bg-transparent'></div>
)
}
export default IntersectionLine