Module 102741

712 characters · in 3d3b05863accbf32.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>g});var l,i,s=n(627968),r=n(64700),a=n(503698),o=n.n(a),u=n(235986),c=n(536554),d=((l=d||{}).PRIMARY="primary",l.SECONDARY="secondary",l.WARNING="warning",l.ERROR="error",l),m=((i=m||{}).SMALL="small",i.LARGE="large",i.NONE="none",i);let h={primary:c.cG,secondary:c.QU,warning:c.SO,error:c._r},p={small:c.EX,large:c.as,none:null};class f extends r.PureComponent{static Colors=d;static Sizes=m;render(){let{icon:e,color:t,children:n,iconSize:l,className:i,iconClassName:r}=this.props;return(0,s.jsxs)(u.A,{className:o()(c.N4,h[t],i),align:u.A.Align.CENTER,children:[(0,s.jsx)(e,{className:o()(c.Kk,p[l],r),color:"currentColor"}),(0,s.jsx)("div",{children:n})]})}}let g=f}