Files
dify/web/app/components/app/configuration/base/group-name/index.tsx
Stephen Zhou 36e840cd87 chore: knip fix (#34481)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-02 15:03:42 +00:00

27 lines
576 B
TypeScript

'use client'
import type { FC } from 'react'
import * as React from 'react'
type IGroupNameProps = {
name: string
}
const GroupName: FC<IGroupNameProps> = ({
name,
}) => {
return (
<div className="mb-1 flex items-center">
<div className="mr-3 text-xs font-semibold uppercase leading-[18px] text-text-tertiary">{name}</div>
<div
className="h-px grow"
style={{
background: 'linear-gradient(270deg, rgba(243, 244, 246, 0) 0%, #F3F4F6 100%)',
}}
>
</div>
</div>
)
}
export default React.memo(GroupName)