rough = (svg) => {
const S = Object.assign(
new svg2rough.Svg2Roughjs(document.createElement("SVG")),
{
svg,
backgroundColor,
pencilFilter,
randomize,
fontFamily,
roughConfig: { bowing, roughness, fillStyle }
}
);
S.sketch();
return S.outputElement;
}