import{jsx as r}from"react/jsx-runtime";import{makeStyles as e}from"@material-ui/core";import i from"tinygradient";var o=e({gradientPreview:{background:"red",width:32,height:16,borderRadius:4}}),t=function(e){var t=e.gradientStops,a=i(t.map((function(r){return{color:r.color,pos:r.pos/100}}))).css("linear","90deg"),n=o();return r("div",{className:n.gradientPreview,style:{background:a}})};export{t as GradientPreview};
//# sourceMappingURL=GradientPreview.js.map
