ar-design
Version:
AR Design is a (react | nextjs) ui library.
7 lines (6 loc) • 409 B
JavaScript
import React from "react";
import Icon from "./Compiler";
export const ARIcon = ({ size = 16, icon, fill = "var(--dark)", stroke = "var(--dark)", strokeWidth = 1, style }) => {
const { Compiler } = new Icon(stroke, strokeWidth);
return (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: fill, width: size, height: size, style: style }, Compiler(icon)));
};