How to use crelns - 6 common examples

To help you get started, we’ve selected a few crelns examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fa-repo / mobile-dev-environment / src / features / icons / reload.js View on Github external
export default function ReloadIcon() {
  return crelns(
    "http://www.w3.org/2000/svg",
    "svg",
    { fill: "#000", height: "24", width: "24", viewBox: "0 0 24 24" },
    crelns("http://www.w3.org/2000/svg", "path", {
      d:
        "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
    }),
    crelns("http://www.w3.org/2000/svg", "path", {
      d: "M0 0h24v24H0z",
      fill: "none"
    })
  );
}
github fa-repo / mobile-dev-environment / src / features / icons / reload.js View on Github external
export default function ReloadIcon() {
  return crelns(
    "http://www.w3.org/2000/svg",
    "svg",
    { fill: "#000", height: "24", width: "24", viewBox: "0 0 24 24" },
    crelns("http://www.w3.org/2000/svg", "path", {
      d:
        "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
    }),
    crelns("http://www.w3.org/2000/svg", "path", {
      d: "M0 0h24v24H0z",
      fill: "none"
    })
  );
}
github fa-repo / mobile-dev-environment / src / features / icons / reload.js View on Github external
export default function ReloadIcon() {
  return crelns(
    "http://www.w3.org/2000/svg",
    "svg",
    { fill: "#000", height: "24", width: "24", viewBox: "0 0 24 24" },
    crelns("http://www.w3.org/2000/svg", "path", {
      d:
        "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"
    }),
    crelns("http://www.w3.org/2000/svg", "path", {
      d: "M0 0h24v24H0z",
      fill: "none"
    })
  );
}
github fa-repo / mobile-dev-environment / src / features / icons / tray.js View on Github external
export default function TrayIcon() {
  return crelns(
    "http://www.w3.org/2000/svg",
    "svg",
    { fill: "#000", height: "24", width: "24", viewBox: "0 0 24 24" },
    crelns("http://www.w3.org/2000/svg", "path", { d: "M0 0h24v24H0V0z", fill: "none" }),
    crelns("http://www.w3.org/2000/svg", "path", {
      d:
        "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3v-3h18v3z"
    })
  );
}
github fa-repo / mobile-dev-environment / src / features / icons / tray.js View on Github external
export default function TrayIcon() {
  return crelns(
    "http://www.w3.org/2000/svg",
    "svg",
    { fill: "#000", height: "24", width: "24", viewBox: "0 0 24 24" },
    crelns("http://www.w3.org/2000/svg", "path", { d: "M0 0h24v24H0V0z", fill: "none" }),
    crelns("http://www.w3.org/2000/svg", "path", {
      d:
        "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3v-3h18v3z"
    })
  );
}
github fa-repo / mobile-dev-environment / src / features / icons / tray.js View on Github external
export default function TrayIcon() {
  return crelns(
    "http://www.w3.org/2000/svg",
    "svg",
    { fill: "#000", height: "24", width: "24", viewBox: "0 0 24 24" },
    crelns("http://www.w3.org/2000/svg", "path", { d: "M0 0h24v24H0V0z", fill: "none" }),
    crelns("http://www.w3.org/2000/svg", "path", {
      d:
        "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3v-3h18v3z"
    })
  );
}

crelns

[Crel](http://github.com:KoryNunn/crel) for creating namespaced elements, like SVG.

ISC
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis

Popular crelns functions

Similar packages