import * as React from 'react';

import '../../styles/styles.scss';

function Badge({tag, isSource}) {
    return <div className={`badge ${isSource && 'badge--source'}`}>{tag}</div>;
}

export default Badge;
