Release 5.0.0-rc1

This commit is contained in:
robmadole
2017-09-15 15:47:51 -05:00
committed by Rob Madole
parent fceb1b8f6b
commit 733c00cf65
80 changed files with 7415 additions and 229 deletions

View File

@@ -188,13 +188,13 @@ fontawesome.parse.transform('grow-2 left-4 rotate-15')
{
"size": 18,
"x": -4,
"y": 0,
"flipX": false,
"flipY": false,
"rotate": 15
}
```
---
"y": 0,
### `fontawesome.library.add(...iconDefinitions)`
@@ -210,7 +210,7 @@ fontawesome.icon(faUser)
fontawesome.icon(brands.faFortAwesome)
```
example: using the library
Using the library
```javascript
import brands from '@fortawesome/fontawesome-free-brands'
@@ -466,7 +466,7 @@ window.FontAwesome
You can use it just like you would the Node.js package:
```javascript
faUser = FontAwesome.findIconDefinition({prefix: 'fa', iconName: 'user'})
faUser = FontAwesome.findIconDefinition({prefix: 'fas', iconName: 'user'})
FontAwesome.icon(faUser).html
```