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

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

154
155
156
157
158
159
160
161
162
163
var bsStyle = "";
var icon = "";
switch (this.props.type) {
  case 'error':
    bsStyle = "danger";
    icon = _freeSolidSvgIcons.faExclamationTriangle;
    break;
  case 'warning':
    bsStyle = "warning";
    icon = _freeSolidSvgIcons.faExclamationTriangle;
fork icon0
star icon0
watch icon2

+ 14 other calls in file