1.0.7
deno fresh react-icons for ai
Attributes
Includes Deno configuration
Repository
Current version released
2 years ago
Dependencies
jsdeliver.net
urielch/react-icons@1.0.7
Ant Design Icons icons for deno / Preact
License MIT
Project https://github.com/ant-design/ant-design-icons
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/ai": "https://cdn.jsdelivr.net/gh/urielch/react-icons-ai@1.0.7/mod.ts",
"react-icons/ai/": "https://cdn.jsdelivr.net/gh/urielch/react-icons-ai@1.0.7/ico/",
}
}
Import an icon without import_map by and afer loading all icons from the lib ai
import { AiFillAccountBook } from "https://deno.land/x/react_icons_ai@1.0.7/mod.ts"
import_map import an icon from all icons
import { AiFillAccountBook } from "react-icons/ai"
import a single icon, downloading just one icon
import { AiFillAccountBook } from "react-icons/ai/AiFillAccountBook.ts"
or using default export
import AiFillAccountBook from "react-icons/ai/AiFillAccountBook.ts"