1.0.9
deno fresh react-icons for ri
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
Dependencies
jsdeliver.net
urielch/react-icons@1.0.9
Versions
Remix Icon icons for deno / Preact
License Apache License Version 2.0
Project https://github.com/Remix-Design/RemixIcon
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/ri": "https://cdn.jsdelivr.net/gh/urielch/react-icons-ri@1.0.9/mod.ts",
"react-icons/ri/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-ri@1.0.9/ico/",
}
}
Import an icon without import_map by and afer loading all icons from the lib ri
import { RiAncientGateFill } from "https://deno.land/x/react_icons_ri@1.0.9/mod.ts"
import_map import an icon from all icons
import { RiAncientGateFill } from "react-icons/ri"
import a single icon, downloading just one icon
import { RiAncientGateFill } from "react-icons/ri/RiAncientGateFill.ts"
or using default export
import RiAncientGateFill from "react-icons/ri/RiAncientGateFill.ts"