import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import GroupsIcon from '@material-symbols/svg-600/outlined/group.svg?react'; import PersonIcon from '@material-symbols/svg-600/outlined/person.svg?react'; import SmartToyIcon from '@material-symbols/svg-600/outlined/smart_toy.svg?react'; export const Badge = ({ icon, label, domain }) => (
{icon} {label} {domain && {domain}}
); Badge.propTypes = { icon: PropTypes.node, label: PropTypes.node, domain: PropTypes.node, }; Badge.defaultProps = { icon: , }; export const GroupBadge = () => ( } label={} /> ); export const AutomatedBadge = () => ( } label={} /> );