UNPKG

react-peeps

Version:

React implementation of the hand drawn illustration library called Open Peeps

12 lines 4.3 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var react_1 = __importDefault(require("react")); exports.Explaining = function (_a) { var strokeColor = _a.strokeColor; return (react_1.default.createElement("g", null, react_1.default.createElement("path", { d: 'M30.8552 0.284389C38.3472 -0.854611 48.2682 1.30939 51.7612 8.92739C53.3172 12.3214 51.4742 16.0744 47.5512 16.2624C45.2969 16.3703 43.0978 16.3333 40.9433 16.2971C34.0368 16.1808 27.5885 16.0723 21.2452 20.7714C17.6638 23.425 14.6527 27.0992 12.1259 30.764L11.1699 32.1587L10.378 33.3078C8.66227 35.8303 7.03756 38.5709 7.29125 41.6144C7.36625 42.5154 6.44525 43.3704 5.57025 43.3344C0.116248 43.1104 -0.470752 36.2724 0.246248 32.1654C1.58025 24.5434 5.26925 17.3884 10.3822 11.6254C15.7522 5.57339 22.8412 1.50339 30.8552 0.284389ZM151.87 5.42689C145.818 4.93789 139.21 6.21389 134.044 9.53489C130.712 11.6769 126.944 16.4719 130.271 20.1519C130.813 20.7519 131.993 20.1239 131.681 19.3309C130.088 15.2799 140.94 15.2309 143.089 15.4139L143.684 15.4705C147.254 15.8464 150.894 16.8774 154.04 18.5789C157.232 20.3039 160.213 22.3289 162.565 25.1279C165.513 28.6319 166.477 32.7989 170.438 35.4799C174.122 37.9739 180.374 35.6019 181.187 31.1069C183.822 16.5319 163.803 6.38789 151.87 5.42689ZM160.774 62.6982L160.773 62.9235C160.686 69.3861 156.318 82.5333 147.866 82.5333C139.314 82.5333 137.684 68.0213 138.046 61.8852L138.097 61.1198C138.825 51.1814 142.274 41.7618 147.866 41.7618C157.046 41.7618 160.76 56.3214 160.774 62.6982ZM25.6175 64.9235L25.6162 64.6982C25.6302 58.3214 29.3442 43.7618 38.5243 43.7618C44.2593 43.7618 47.7411 53.6706 48.3439 63.8852L48.3648 64.3016C48.631 70.6522 46.8883 84.5333 38.5243 84.5333C30.0718 84.5333 25.7044 71.3861 25.6175 64.9235ZM122.515 105.602C122.392 108.007 121.556 110.507 119.748 113.039C110.636 122.601 97.7042 112.603 90.6366 107.139C90.2878 106.869 89.9534 106.61 89.6344 106.366C83.3436 102.333 76.2756 112.704 82.1122 117.412C131.136 153.708 151.031 87.567 112.634 80.97C108.406 80.243 106.836 84.9468 108.814 86.3667C114.647 89.9119 122.838 97.1039 122.523 105.438C122.487 105.449 122.449 105.462 122.408 105.476L122.046 105.606L122.046 105.862C122.139 105.805 122.238 105.762 122.328 105.703L122.515 105.602ZM122.515 105.602L122.691 105.506L122.814 105.432C123.008 105.306 122.911 105.308 122.523 105.438C122.521 105.492 122.518 105.547 122.515 105.602ZM77.237 145.626C60.152 142.068 39.527 143.059 27.281 157.289C15.604 170.857 17.589 190.909 28.418 204.336C40.024 218.727 59.961 223.621 77.703 222.74C88.7586 222.191 99.734 219.892 110.483 217.27L112.96 216.66L113.282 216.58C121.775 214.473 136.168 210.902 136.112 200.085C136.098 197.644 134.179 196.085 131.893 195.867C128.89 195.58 126.454 196.442 123.9 197.626L123.2 197.956L122.132 198.473L121.794 198.626C121.907 197.61 121.83 196.483 121.492 195.233L121.237 194.245C119.778 188.298 119.517 182.055 118.687 176.003C118.266 172.928 117.844 169.857 117.467 166.776C117.3 165.41 117.093 164.062 116.866 162.705C116.781 162.196 116.744 161.596 116.718 160.981C125.028 160.136 134.505 158.75 141.54 154.429C142.223 154.008 141.925 152.973 141.137 152.944C138.235 152.835 135.324 153.12 132.411 153.405C130.177 153.623 127.942 153.842 125.709 153.883C120.47 153.98 115.213 153.783 110.012 153.124C98.876 151.714 88.201 147.91 77.237 145.626ZM80.2623 159.354L85.358 160.088L86.6564 160.265C94.0151 161.243 101.385 161.793 108.787 161.541C108.345 163.254 108.072 167.063 107.863 168.823C105.904 168.465 95.485 168.998 93.939 169.16L89.5462 169.616L85.151 170.061C78.967 170.678 72.78 171.266 66.59 171.824L63.8913 172.072C53.9983 172.997 44.1346 174.109 34.307 175.565C35.104 171.423 37.238 167.567 41.03 164.611C51.4161 156.512 65.6227 157.386 78.2553 159.078L80.2623 159.354ZM107.852 203.317C105.99 186.824 85.7218 185.917 79.8911 196.376C77.3037 181.797 39.028 195.116 42.021 198.014C53.365 209 70.58 209.989 85.379 207.957C92.916 206.922 100.459 205.237 107.852 203.317Z', transform: 'translate(61.99985 58.00041)', fill: strokeColor || '#000000', fillRule: 'evenodd', stroke: 'none' }))); }; //# sourceMappingURL=Explaining.js.map