import React from "react";
import { theme } from "../../styles";
// Without this, some svg wont get the fill color
const svgParent = `[&>svg]:fill-inherit`;
export const SVG = ({ SVGElement, fill = `${theme["--ll-color-on-background"]}`, className, height = 24, width = 24, }) => (React.createElement("div", { className: `${className} ${svgParent}`, style: { height: `${height}px`, width: `${width}px`, fill } },
    React.createElement(SVGElement, null)));
//# sourceMappingURL=index.js.map