UrielCh / react-icons-cg

deno fresh react-icons for cg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

css.gg icons for deno / Preact

License MIT

Project https://github.com/astrit/css.gg

See available icons here

import_map.json

For a transparent usage:

{
  "imports": {
    "preact":  "https://esm.sh/preact@10.15.1",
    "preact/": "https://esm.sh/preact@10.15.1/",
    "react-icons/cg":  "https://cdn.jsdelivr.net/gh/urielch/react-icons-cg@1.0.9/mod.ts",
    "react-icons/cg/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-cg@1.0.9/ico/",
  }
}

Import an icon without import_map by and afer loading all icons from the lib cg

import { CgAbstract } from "https://deno.land/x/react_icons_cg@1.0.9/mod.ts"

import_map import an icon from all icons

import { CgAbstract } from "react-icons/cg"

import a single icon, downloading just one icon

import { CgAbstract } from "react-icons/cg/CgAbstract.ts"

or using default export

import CgAbstract from "react-icons/cg/CgAbstract.ts"

About

deno fresh react-icons for cg


Languages

Language:TypeScript 100.0%