Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use ionicons in react

//in the terminal
npm i react-ionicons

//import the library
import { Pencil } from 'react-ionicons'

// usage
<Pencil 
 color={'black'}
 rotate
 height="250px"
 width="250px"
 onClick={() => alert('Hi!')}
/>
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #ionicons #react
ADD COMMENT
Topic
Name
9+5 =