1.0.10
deno fresh react-icons for tfi
Attributes
Includes Deno configuration
Repository
Current version released
4 months ago
Dependencies
jsdeliver.net
urielch/react-icons@1.0.9
Versions
Themify Icons icons for deno / Preact
License MIT
Project https://github.com/lykmapipo/themify-icons
import_map.json
For a transparent usage:
{
"imports": {
"preact": "https://esm.sh/preact@10.22.1",
"preact/": "https://esm.sh/preact@10.22.1/",
"react-icons/tfi": "https://cdn.jsdelivr.net/gh/urielch/react-icons-tfi@1.0.10/mod.ts",
"react-icons/tfi/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-tfi@1.0.10/ico/",
}
}
Import an icon without import_map by and afer loading all icons from the lib tfi
import { TfiAgenda } from "https://deno.land/x/react_icons_tfi@1.0.10/mod.ts"
import_map import an icon from all icons
import { TfiAgenda } from "react-icons/tfi"
import a single icon, downloading just one icon
import { TfiAgenda } from "react-icons/tfi/TfiAgenda.ts"
or using default export
import TfiAgenda from "react-icons/tfi/TfiAgenda.ts"