UNPKG

rollpkg-example-package

Version:
3 lines (2 loc) 671 B
"use strict";function e(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("react"));const t=()=>Math.floor(256*Math.random());exports.ColorBlock=({width:e,height:t,rgbColor:o})=>r.createElement("div",{style:{width:e,height:t,backgroundColor:`rgb(${o})`}}),exports.randomRGBColorGenerator=()=>[t(),t(),t()]; //# sourceMappingURL=rollpkg-example-package.cjs.production.js.map