UNPKG

react-devicons

Version:

React components for the svg icons of the [devicon](https://github.com/devicons/devicon) project.

1 lines 3.33 kB
function _extends(){return _extends=Object.assign?Object.assign.bind():function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_extends.apply(this,arguments)}const React=require("react");module.exports=function(a){let{size:c="1em",...b}=a;return b={...b,style:{...(b.style?b.style:{}),width:c,height:c}},/*#__PURE__*/React.createElement("svg",_extends({},b,{viewBox:"0 0 128 128",xmlns:"http://www.w3.org/2000/svg"}),/*#__PURE__*/React.createElement("path",{d:"M38.53 83.27H0V44.74h38.53v38.53Z",fill:"#d00000"}),/*#__PURE__*/React.createElement("path",{d:"M10.27 74.61s.02.07.04.09l.66.66s.06.04.09.04h2.26s.07-.02.09-.04l.66-.66s.04-.06.04-.09v-7.16s.02-.07.04-.09l2.87-2.74s.05-.02.07 0l7.24 10.73s.05.04.08.04h3.2s.06-.02.08-.05l.58-1.12s.01-.07 0-.09L19.8 61.85s-.01-.06 0-.08l7.79-7.76s.04-.06.04-.09v-.14s0-.07-.02-.1l-.45-1.03s-.05-.05-.07-.05h-3.16s-.07.02-.09.04l-9.68 9.72s-.04.01-.04-.02v-8.92s-.02-.07-.04-.09l-.65-.69s-.06-.04-.09-.04h-2.27s-.07.02-.09.04l-.66.72s-.04.06-.04.09v21.17Z",fill:"#fff"}),/*#__PURE__*/React.createElement("path",{d:"M77.63 75.07c-2.47 0-4.4-.72-5.79-2.16-1.39-1.44-2.09-3.42-2.09-5.95s.65-4.63 1.94-6.11c1.29-1.48 3.07-2.22 5.32-2.22 2.09 0 3.75.64 4.96 1.91s1.82 3.02 1.82 5.25v1.82H73.22c.05 1.54.46 2.72 1.25 3.55.78.83 1.89 1.24 3.31 1.24.94 0 1.81-.09 2.62-.27.81-.18 1.68-.47 2.6-.88v2.74c-.82.39-1.65.67-2.5.83-.84.16-1.8.24-2.88.24Zm-.62-13.89c-1.07 0-1.93.34-2.58 1.02s-1.03 1.67-1.16 2.97h7.2c-.02-1.31-.33-2.3-.95-2.98s-1.45-1.01-2.53-1.01Zm18.67-2.55c.68 0 1.24.05 1.68.14l-.33 3.14c-.48-.11-.98-.17-1.49-.17-1.35 0-2.44.44-3.28 1.32-.84.88-1.26 2.02-1.26 3.43v8.29h-3.37V58.91h2.64l.45 2.8h.17c.53-.95 1.21-1.7 2.06-2.25.85-.55 1.76-.83 2.73-.83Zm14.55 16.16-.67-2.21h-.11c-.77.97-1.54 1.62-2.31 1.97-.77.35-1.77.52-2.98.52-1.56 0-2.78-.42-3.65-1.26s-1.31-2.03-1.31-3.57c0-1.64.61-2.87 1.82-3.7 1.22-.83 3.07-1.29 5.55-1.36l2.74-.09v-.85c0-1.01-.24-1.77-.71-2.27s-1.21-.75-2.2-.75c-.81 0-1.59.12-2.34.36-.75.24-1.46.52-2.15.85l-1.09-2.41c.86-.45 1.8-.79 2.83-1.03 1.02-.23 1.99-.35 2.9-.35 2.02 0 3.54.44 4.57 1.32s1.54 2.26 1.54 4.15V74.8h-2.41Zm-5.02-2.3c1.22 0 2.21-.34 2.95-1.03.74-.68 1.11-1.64 1.11-2.88V67.2l-2.04.09c-1.59.06-2.74.32-3.47.8-.72.47-1.08 1.2-1.08 2.17 0 .71.21 1.26.63 1.64s1.05.58 1.89.58Zm22.8-2.22c0 1.55-.56 2.74-1.69 3.57-1.13.83-2.74 1.24-4.85 1.24s-3.81-.32-5.09-.96v-2.91c1.87.86 3.6 1.29 5.21 1.29 2.08 0 3.11-.63 3.11-1.88 0-.4-.11-.74-.34-1-.23-.27-.61-.54-1.13-.83-.53-.29-1.26-.61-2.2-.98-1.83-.71-3.06-1.42-3.71-2.12-.65-.71-.97-1.63-.97-2.75 0-1.36.55-2.41 1.64-3.16 1.1-.75 2.59-1.13 4.47-1.13s3.63.38 5.29 1.13l-1.09 2.54c-1.71-.71-3.15-1.06-4.32-1.06-1.78 0-2.67.51-2.67 1.52 0 .5.23.92.7 1.26.46.34 1.48.82 3.03 1.42 1.31.51 2.26.97 2.86 1.39.59.42 1.03.91 1.32 1.46.29.55.43 1.21.43 1.97ZM49.98 74.4s.02.07.04.09l.65.65s.06.04.09.04h2.21s.07-.02.09-.04l.65-.65s.04-.06.04-.09v-7.01s.02-.07.04-.09l2.81-2.68s.05-.02.07 0l7.09 10.5s.05.04.08.04h3.13s.06-.02.08-.05l.57-1.1s.01-.07 0-.09l-8.3-12.03s-.01-.06 0-.08l7.63-7.6s.04-.06.04-.09v-.14s0-.07-.02-.1l-.44-1.01s-.04-.05-.07-.05h-3.09s-.07.02-.09.04l-9.48 9.52s-.04.01-.04-.02v-8.73s-.02-.07-.04-.09l-.63-.68s-.06-.04-.09-.04h-2.23s-.07.02-.09.04l-.65.7s-.04.06-.04.09v20.72Z",fill:"#2f2f2f"}))};