How to use the fas function from @fortawesome/free-solid-svg-icons

Find comprehensive JavaScript @fortawesome/free-solid-svg-icons.fas code examples handpicked from public code repositorys.

10
11
12
13
14
15
16
17
18
19
})
const faInfoCircleIcon = icon(soldIcon.faInfoCircle)
const faExclamationCircleIcon = icon(soldIcon.faExclamationCircle)
const faQuestionCircleIcon = icon(soldIcon.faQuestionCircle)
const faFireIcon = icon(soldIcon.faFire)
const fas = soldIcon.fas
const far = require('@fortawesome/free-regular-svg-icons').far
const fab = require('@fortawesome/free-brands-svg-icons').fab
library.add(fas, far, fab)

fork icon4
star icon6
watch icon3

+ 13 other calls in file