0.0.2
react-icons ported for deno / preact
Repository
Current version released
2 years ago
Dependencies
esm.sh
preact / deno convertion of react-icons
This library is a simple port from react-icons compatible with deno fresh project.
import { AiFillAccountBook } from "https://deno.land/x/react_icons/ai/index.ts";
export default function TesSvg() {
return (<AiFillAccountBook />)
}
check the full documetation in: here
the first sample:
import { FaBeer } from 'react-icons/fa';
class Question extends React.Component {
render() {
return <h3> Lets go for a <FaBeer />? </h3>
}
}
can be convert as:
import { FaBeer } from 'https://deno.land/x/react_icons/fa/index.ts';
import { Component } from 'https://esm.sh/preact@10.11.2'
class Question extends Component {
render() {
return <h3> Lets go for a <FaBeer />? </h3>
}
}