import type { FC, ReactNode } from 'react'; import { FormattedMessage } from 'react-intl'; import classNames from 'classnames'; import GroupsIcon from '@/material-icons/400-24px/group.svg?react'; import PersonIcon from '@/material-icons/400-24px/person.svg?react'; import SmartToyIcon from '@/material-icons/400-24px/smart_toy.svg?react'; export const Badge: FC<{ label: ReactNode; icon?: ReactNode; className?: string; domain?: ReactNode; roleId?: string; }> = ({ icon = , label, className, domain, roleId }) => (
{icon} {label} {domain && {domain}}
); export const GroupBadge: FC<{ className?: string }> = ({ className }) => ( } label={ } className={className} /> ); export const AutomatedBadge: FC<{ className?: string }> = ({ className }) => ( } label={ } className={className} /> );