Feat: conversation variable & variable assigner node (#7222)

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
KVOJJJin 2024-08-13 14:44:10 +08:00 • committed by GitHub
commit 935e72d449
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
128 changed files with 3354 additions and 683 deletions

View file

@ -4,16 +4,19 @@ import cn from '@/utils/classnames'
type BadgeProps = {
className?: string
text: string
uppercase?: boolean
}
const Badge = ({
className,
text,
uppercase = true,
}: BadgeProps) => {
return (
<div
className={cn(
'inline-flex items-center px-[5px] h-5 rounded-[5px] border border-divider-deep system-2xs-medium-uppercase leading-3 text-text-tertiary',
'inline-flex items-center px-[5px] h-5 rounded-[5px] border border-divider-deep leading-3 text-text-tertiary',
uppercase ? 'system-2xs-medium-uppercase' : 'system-xs-medium',
className,
)}
>