Github Octicons icons icons for deno / Preact
License MIT
Project https://octicons.github.com/
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/go": "https://cdn.jsdelivr.net/gh/urielch/react-icons-go@1.0.7/mod.ts",
"react-icons/go/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-go@1.0.7/ico/",
}
}
Import an icon without import_map by and afer loading all icons from the lib go
import { GoAlert } from "https://deno.land/x/react_icons_go@1.0.7/mod.ts"
import_map import an icon from all icons
import { GoAlert } from "react-icons/go"
import a single icon, downloading just one icon
import { GoAlert } from "react-icons/go/GoAlert.ts"
or using default export
import GoAlert from "react-icons/go/GoAlert.ts"