mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 11:56:55 +08:00
Co-authored-by: yyh <yuanyouhuilyz@gmail.com> Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com>
20 lines
357 B
TypeScript
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)
|