Release 5.0.0-rc1
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user