@icons-pack/react-simple-icons
Version:
This package provides the Simple Icons packaged as a set of React components.
28 lines (25 loc) • 1.24 kB
JavaScript
import { jsxs, jsx } from 'react/jsx-runtime';
import * as React from 'react';
const defaultColor = "#528DD7";
const SiFontawesome = React.forwardRef(function SiFontawesome2({ title = "Font Awesome", 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: "M24 .857v18c-3.375 1.232-4.393 1.714-6.375 1.714-3.375 0-4.66-1.714-8.036-1.714-1.071 0-1.928.214-2.732.429v-3.429c.804-.214 1.661-.428 2.732-.428 3.375 0 4.661 1.714 8.036 1.714 1.071 0 1.875-.16 2.946-.482V5.518C19.5 5.839 18.696 6 17.625 6c-3.375 0-4.66-1.714-8.036-1.714-2.732 0-4.017 1.125-6.16 1.553v16.447A1.693 1.693 0 011.714 24 1.693 1.693 0 010 22.286V1.714A1.693 1.693 0 011.714 0 1.693 1.693 0 013.43 1.714v.697C5.572 1.982 6.857.857 9.589.857c3.375 0 4.661 1.715 8.036 1.715 1.982 0 3-.483 6.375-1.715Z" })
]
}
);
});
export { SiFontawesome as default, defaultColor };