mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-16 14:26:52 +08:00
24 lines
539 B
TypeScript
24 lines
539 B
TypeScript
'use client'
|
|
import React, { FC } from 'react'
|
|
|
|
export interface IGroupNameProps {
|
|
name: string
|
|
}
|
|
|
|
const GroupName: FC<IGroupNameProps> = ({
|
|
name
|
|
}) => {
|
|
return (
|
|
<div className='flex items-center mb-1'>
|
|
<div className='mr-3 leading-[18px] text-xs font-semibold text-gray-500 uppercase'>{name}</div>
|
|
<div className='grow h-[1px]'
|
|
style={{
|
|
background: 'linear-gradient(270deg, rgba(243, 244, 246, 0) 0%, #F3F4F6 100%)',
|
|
|
|
}}
|
|
></div>
|
|
</div>
|
|
)
|
|
}
|
|
export default React.memo(GroupName)
|