mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-09 00:41:50 +08:00
17 lines
317 B
TypeScript
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
|