Skip to content

Commit e51ef56

Browse files
committed
small readme update
1 parent f4a683f commit e51ef56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ See [jekuer.github.io/add-to-calendar-button](https://jekuer.github.io/add-to-ca
6262

6363
1. Requires NodeJS and a project, which builds on it (e.g. React or Angular).
6464
2. Rund **`npm install add-to-calendar-button`**.
65-
3. Import the module into your project/component. For example with Angular: `import { atcb_init } from 'add-to-calendar-button';`.
65+
3. Import the module into your project/component. For example with Angular/React: `import { atcb_init } from 'add-to-calendar-button';`.
6666
4. Init the js with `atcb_init();`.
67-
5. Include the css. For example with Angular, add the following to the global style.css: `@import 'add-to-calendar-button/assets/css/atcb.min'`;
67+
5. Include the css. For example with Angular or React, add the following to the global style.css: `@import 'add-to-calendar-button/assets/css/atcb.min'`;
6868
6. Create your button as can be seen in the "Configuration" section below.
6969
7. That is it. The script takes care of all the rest. :)
7070

@@ -78,7 +78,7 @@ A button can be easily created by placing a respective placeholder, wherever you
7878
</div>
7979
```
8080
Within this placeholder, you can easily configure the button, by placing a respective JSON structure.
81-
Mind that with Angular, you might need to escape the { with `{{ '{' }}` and } with `{{ '}' }}`.
81+
Mind that with Angular, you might need to escape the { with `{{ '{' }}` and } with `{{ '}' }}`; with React it would be `{ '{' }` and `{ '}' }`.
8282

8383
### Minimal structure (required)
8484

0 commit comments

Comments
 (0)