Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to resize react icons

// If you want a 5x icon size you need to pass it to the react class as size
// Font awesome pixel sizes relative to the multiplier. 
// 1x - 14px
// 2x - 28px
// 3x - 42px
// 4x - 56px
// 5x - 70px

<FaFolderOpen size={70} />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #resize #react #icons
ADD COMMENT
Topic
Name
4+3 =