Files
dify/web/app/components/datasets/hit-testing/components/mask.tsx
2025-12-09 11:44:50 +08:00

20 lines
353 B
TypeScript

import React from 'react'
import cn from '@/utils/classnames'
type MaskProps = {
className?: string
}
export const Mask = ({
className,
}: MaskProps) => {
return (
<div className={cn(
'h-12 bg-gradient-to-b from-components-panel-bg-transparent to-components-panel-bg',
className,
)} />
)
}
export default React.memo(Mask)