mirror of https://github.com/langgenius/dify.git
21 lines
366 B
TypeScript
21 lines
366 B
TypeScript
import * as 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)
|