@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
28 lines (25 loc) • 1.14 kB
JavaScript
import { jsxs, jsx } from 'react/jsx-runtime';
import * as React from 'react';
const defaultColor = "#1B1F24";
const SiMdx = React.forwardRef(function SiMdx2({ title = "MDX", color = "currentColor", size = 24, ...others }, ref) {
if (color === "default") {
color = defaultColor;
}
return /* @__PURE__ */ jsxs(
"svg",
{
xmlns: "http://www.w3.org/2000/svg",
width: size,
height: size,
fill: color,
viewBox: "0 0 24 24",
ref,
...others,
children: [
/* @__PURE__ */ jsx("title", { children: title }),
/* @__PURE__ */ jsx("path", { d: "M.79 7.12h22.42c.436 0 .79.355.79.792v8.176c0 .436-.354.79-.79.79H.79a.79.79 0 0 1-.79-.79V7.912a.79.79 0 0 1 .79-.791V7.12Zm2.507 7.605v-3.122l1.89 1.89L7.12 11.56v3.122h1.055v-5.67l-2.99 2.99L2.24 9.056v5.67h1.055v-.001Zm8.44-1.845-1.474-1.473-.746.746 2.747 2.747 2.745-2.747-.746-.746-1.473 1.473v-4h-1.054v4Zm10.041.987-2.175-2.175 2.22-2.22-.746-.746-2.22 2.22-2.22-2.22-.747.746 2.22 2.22-2.176 2.177.746.746 2.177-2.177 2.176 2.175.745-.746Z" })
]
}
);
});
export { SiMdx as default, defaultColor };