BoxIcons icons for deno / Preact
License CC BY 4.0 License
Project https://github.com/atisawd/boxicons
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/bi": "https://cdn.jsdelivr.net/gh/urielch/react-icons-bi@1.0.9/mod.ts",
"react-icons/bi/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-bi@1.0.9/ico/",
}
}
Import an icon without import_map by and afer loading all icons from the lib bi
import { BiAbacus } from "https://deno.land/x/react_icons_bi@1.0.9/mod.ts"
import_map import an icon from all icons
import { BiAbacus } from "react-icons/bi"
import a single icon, downloading just one icon
import { BiAbacus } from "react-icons/bi/BiAbacus.ts"
or using default export
import BiAbacus from "react-icons/bi/BiAbacus.ts"