import{j as a}from"./fields-wnm5Jtc6.js";import"./vendor-D21mNUGX.js";import{P as t,s as r}from"./index-pmrLY__j.js";import{B as i}from"./Layout-CFk9FOHT.js";const o=({category:s})=>{let e;switch(s){case"text":e=r.SUCCESS;break;case"media":e=r.INFO;break;case"design":e=r.WARNING;break;case"widgets":e=r.DANGER;break;case"theme":e=r.PRIMARY;break;default:case"embed":e=r.SECONDARY;break}return e?a.jsx(i,{style:e,children:s}):null};o.propTypes={category:t.string.isRequired};export{o as B};
