dify/web/app/components/datasets/hit-testing/components/mask.tsx
Stephen Zhou a26881cb24
refactor: unified cn utils (#29916)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
2025-12-19 12:08:34 +08:00

20 lines
357 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)