Skip to content

Commit 825711e

Browse files
committed
Update README.md again
1 parent 600c2ac commit 825711e

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
unofficial; bodged by drinking-code
33
**do not use in production**
44
#### What is Openmoji for React?
5-
Openmoji is a collection of open source emojis. This repository lets you use these emojis in a reactjs-app easily.
5+
[Openmoji](https://github.com/hfg-gmuend/openmoji) is a collection of open source emojis. This repository lets you use these emojis in a reactjs-app easily.
66
#### Built from (coloured) Openmoji `v12.2.0`
77

8+
> Please comply with the [Openmoji Attribution Requirements](https://github.com/hfg-gmuend/openmoji#attribution-requirements)
9+
810
## Installation
9-
```
11+
```shell script
1012
npm i react-openmoji
1113
```
1214

1315
## Usage
1416
### Automatically
1517
For easy and dynamic use you can replace emojis completely automatically:
16-
```javascript
18+
```jsx
1719
import React from 'react';
1820
import reactReplaceEmojis from 'react-openmoji';
1921

@@ -26,7 +28,7 @@ export default App;
2628

2729
### Manually
2830
#### Via icon name
29-
```javascript
31+
```jsx
3032
import React from 'react';
3133
import { ManRaisingHand } from 'react-openmoji';
3234

@@ -67,7 +69,7 @@ If a name starts with a number, a `_` is added in front of the name.
6769

6870
#### Via unicode
6971
You can use the unicode of the emoji to import it. Unicodes are listed also in the [Openmoji Library](https://openmoji.org/library/).
70-
```javascript
72+
```jsx
7173
import React from 'react';
7274
import {_1F64B_200D_2642_FE0F} from 'react-openmoji';
7375

@@ -79,7 +81,7 @@ export default App;
7981
```
8082

8183
You can also include all 3458 emojis:
82-
```javascript
84+
```jsx
8385
import React from 'react';
8486
import * as Emoji from 'react-openmoji';
8587

0 commit comments

Comments
 (0)