Skip to content

Commit 55b740e

Browse files
authored
Update README.md to match the name of the map
1 parent 3716b88 commit 55b740e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,13 @@ Using the new configurator tool, this is now an optional feature. Run the tool w
116116
```
117117
$ ./configurator.sh --dynamic
118118
```
119-
...and the following import to use the map. For normal icons, use `faIconMapping` with a key of this format:
119+
...and the following import to use the map. For normal icons, use `faIconNameMapping` with a key of this format:
120120
'style icon-name'.
121121
```dart
122122
import 'package:font_awesome_flutter/name_icon_mapping.dart';
123123
124124
...
125-
FaIcon(
126-
icon: faIconMapping['solid abacus'],
127-
);
125+
FaIcon(faIconNameMapping['solid abacus']);
128126
...
129127
```
130128

0 commit comments

Comments
 (0)