Skip to content

Commit

Permalink
doc/spelling (lucide-icons#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
llaenowyd authored Oct 31, 2020
1 parent 51fd3af commit b533cf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Lucide is a community-run fork of [Feather Icons](https://github.com/feathericon
* [Unpkg](#with-unpkg)
* [ESModules](#with-esmodules)
* [Options](#additional-options)
* [Threeshake library](#threeshake-the-library-only-use-the-icons-you-use)
* [Treeshake library](#treeshake-the-library-only-use-the-icons-you-use)
* [Custom binding](#custom-element-binding)
* [Figma](#figma)
* [Contributing](#contributing)
Expand Down Expand Up @@ -73,7 +73,7 @@ Here is a complete example with unpkg

### With ESModules

To reduce bundle size, lucide is build to be fully threeshakeble.
To reduce bundle size, lucide is built to be fully treeshakable.
The `createIcons` function will search for HTMLElements with the attribute `icon-name` and replace it with the svg from the given icon name.

```html
Expand All @@ -84,7 +84,7 @@ The `createIcons` function will search for HTMLElements with the attribute `icon
```js
import { createIcons, icons } from 'lucide';

// Caustion, this will import all the icons and bundle them.
// Caution, this will import all the icons and bundle them.
createIcons({icons});

// Recommended way, to include only the icons you need.
Expand Down Expand Up @@ -118,7 +118,7 @@ createIcons({
});
```

#### Threeshake the library, only use the icons you use
#### Treeshake the library, only use the icons you use

```js
import { createIcons, Menu, ArrowRight, Globe } from 'lucide';
Expand Down

0 comments on commit b533cf8

Please sign in to comment.