1.0.1 • Published 2 years ago
@nataicons/react v1.0.1
Installation
Install with npm
npm install @nataicons/reactUsage
- Import the icon components
import { AlarmIcon, NataIcon } from "@nataicons/react"- Use the icon components in your JSX
function MyComponent() {
return (
<div>
<AlarmIcon color="red" size={24} />
<NataIcon name="bell" color="blue" size={32} />
</div>
)
}You can set a custom size (in pixels) or use the default sizes (24px or 20px). The color prop allows you to change the icon color.
om size (in pixels) or use the default sizes. The color prop allows you to change the icon color.
License
Nataicons is licensed under the MIT License. In short, you are free to use this icons in any personal, open-source or commercial work. Attribution is optional but appreciated.