1.0.9
deno fresh react-icons for vsc
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
jsdeliver.net
urielch/react-icons@1.0.8
Versions
VS Code Icons icons for deno / Preact
License CC BY 4.0
Project https://github.com/microsoft/vscode-codicons
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/vsc": "https://cdn.jsdelivr.net/gh/urielch/react-icons-vsc@1.0.8/mod.ts",
"react-icons/vsc/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-vsc@1.0.8/ico/",
}
}
Import an icon without import_map by and afer loading all icons from the lib vsc
import { VscAccount } from "https://deno.land/x/react_icons_vsc@1.0.8/mod.ts"
import_map import an icon from all icons
import { VscAccount } from "react-icons/vsc"
import a single icon, downloading just one icon
import { VscAccount } from "react-icons/vsc/VscAccount.ts"
or using default export
import VscAccount from "react-icons/vsc/VscAccount.ts"