export const ns = ['roles'] const colors = { user: 'primary', curator: 'secondary', bughunter: 'accent', support: 'warning', admin: 'error', } export const AccountRole = ({ role }) => { const color = colors[role] return ( role {role} ) }