"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@material-ui/core");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(require("tinygradient")),a=r.makeStyles({gradientPreview:{background:"red",width:32,height:16,borderRadius:4}});exports.GradientPreview=function(r){var t=r.gradientStops,n=i.default(t.map((function(e){return{color:e.color,pos:e.pos/100}}))).css("linear","90deg"),o=a();return e.jsx("div",{className:o.gradientPreview,style:{background:n}})};
//# sourceMappingURL=GradientPreview.js.map
