1
0
mirror of https://github.com/flarum/core.git synced 2025-07-14 05:16:24 +02:00

FontAwesome v5.0.6 (#1372)

* Update FontAwesome to v5.0.6

* Adapt DiscussionListItem-count icon to match FontAwesome 5 syntax

* Change icon name to match FontAwesome 5.0.6 fas icon

* Add font type prefix parameter to icon helper

* Add Enable Icon Prefix to show icon in Extension Page

* Fix invalid icon behavior

* Change icon name to match FontAwesome 5.0.6 far icon

* Use iconPrefix property on component

* Use full icon class name

* Update icon helper docblock

* Full icon class syntax
This commit is contained in:
AFR
2018-02-24 05:42:00 +07:00
committed by Franz Liedke
parent 0f554585ac
commit 1a2df2d581
51 changed files with 124 additions and 119 deletions

View File

@ -18,7 +18,7 @@ export default class Select extends Component {
<select className="Select-input FormControl" onchange={onchange ? m.withAttr('value', onchange.bind(this)) : undefined} value={value}>
{Object.keys(options).map(key => <option value={key}>{options[key]}</option>)}
</select>
{icon('sort', {className: 'Select-caret'})}
{icon('fa fa-sort', {className: 'Select-caret'})}
</span>
);
}