pkg-components
Version:
2 lines (1 loc) • 1.01 kB
JavaScript
import{j as r}from"./jsx-runtime-DI8_P1Ft.js";import{I as s,a as l,b as u,c as d,d as m,e as p,f as I}from"./index-BT_gM0Ba.js";import{I as f}from"./index-RGaBZlDs.js";const g={MiniCheck:s,LogoCMF:l,IconQrCode:u,IconLogoCMFBlue:d,IconClose:m,logo:p,time:f,IconStrokeLogo:I},h=e=>g[e]||null,i=({icon:e,size:o,width:t,height:a,color:c})=>{const n=h(e);return n?r(n,{size:o||24,color:c,width:t,height:a}):r("div",{children:"No se encontró el ícono"})};try{i.displayName="Icon",i.__docgenInfo={description:"",displayName:"Icon",props:{icon:{defaultValue:null,description:"",name:"icon",required:!0,type:{name:"string"}},color:{defaultValue:null,description:"",name:"color",required:!1,type:{name:"string"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"number"}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:"string | number"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string | number"}}}}}catch{}export{i as I};