import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import { ReactComponent as GroupsIcon } from '@material-design-icons/svg/outlined/group.svg'; import { ReactComponent as PersonIcon } from '@material-design-icons/svg/outlined/person.svg'; import { ReactComponent as SmartToyIcon } from '@material-design-icons/svg/outlined/smart_toy.svg'; 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={} /> );