aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaweł Kuna <1282324+codecalm@users.noreply.github.com>2020-11-11 14:22:11 +0100
committerGitHub <noreply@github.com>2020-11-11 14:22:11 +0100
commit1857bfd9403871735ae07d0108cb4646a9b3855b (patch)
tree780cfa4c6fcdb13fdc0295adef22ead87698345b /README.md
parentpaths fix #87 (diff)
parentadded `publishConfig` to `package.json` (diff)
downloadtabler-icons-1857bfd9403871735ae07d0108cb4646a9b3855b.tar.xz
Merge pull request #93 from tabler/package-rename
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 332f8911..1ac1afb2 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ A set of over 850 free MIT-licensed high-quality SVG icons for you to use in you
## Installation
```
-npm install tabler-icons --save
+npm install @tabler/icons --save
```
or just [download from Github](https://github.com/tabler/tabler-icons/releases).
@@ -78,7 +78,7 @@ Add an icon to be displayed on your page with the following markup (`activity` i
Import the icon and render it in your component. You can adjust SVG properties through React props:
```jsx
-import { IconAward } from 'tabler-icons';
+import { IconAward } from '@tabler/icons';
const MyComponent = () => {
return <IconAward
@@ -90,7 +90,7 @@ const MyComponent = () => {
}
```
-`tabler-icons` exports it's own type declarations for usage with React and Typescript.
+`@tabler/icons` exports it's own type declarations for usage with React and Typescript.
## Multiple strokes