parent
35a992118a
commit
1b832414c5
|
@ -52,9 +52,9 @@ Examples of `emoji` object:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use [unpkg](https://unpkg.com/emoji-mart@0.2.9/sheets/) with the sheets included in this repo:<br>
|
You can use [unpkg](https://unpkg.com/emoji-mart@0.2.10/sheets/) with the sheets included in this repo:<br>
|
||||||
https://unpkg.com/emoji-mart@0.2.9/sheets/sheet_apple_64.png<br>
|
https://unpkg.com/emoji-mart@0.2.10/sheets/sheet_apple_64.png<br>
|
||||||
https://unpkg.com/emoji-mart@0.2.9/sheets/sheet_emojione_64.png
|
https://unpkg.com/emoji-mart@0.2.10/sheets/sheet_emojione_64.png
|
||||||
|
|
||||||
### Emoji
|
### Emoji
|
||||||
```jsx
|
```jsx
|
||||||
|
|
|
@ -49,7 +49,7 @@ class Example extends React.Component {
|
||||||
onClick={() => this.setState({ set: set })}
|
onClick={() => this.setState({ set: set })}
|
||||||
{...props}>
|
{...props}>
|
||||||
<Emoji
|
<Emoji
|
||||||
sheetURL={`https://unpkg.com/emoji-mart@0.2.9/sheets/sheet_${set}_32.png`}
|
sheetURL={`https://unpkg.com/emoji-mart@0.2.10/sheets/sheet_${set}_32.png`}
|
||||||
size={24}
|
size={24}
|
||||||
emoji='grinning'
|
emoji='grinning'
|
||||||
/>
|
/>
|
||||||
|
@ -86,7 +86,7 @@ class Example extends React.Component {
|
||||||
emojiSize={this.state.emojiSize}
|
emojiSize={this.state.emojiSize}
|
||||||
perLine={this.state.perLine}
|
perLine={this.state.perLine}
|
||||||
skin={this.state.skin}
|
skin={this.state.skin}
|
||||||
sheetURL={`https://unpkg.com/emoji-mart@0.2.9/sheets/sheet_${this.state.set}_64.png`}
|
sheetURL={`https://unpkg.com/emoji-mart@0.2.10/sheets/sheet_${this.state.set}_64.png`}
|
||||||
onClick={(emoji) => console.log(emoji)}
|
onClick={(emoji) => console.log(emoji)}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "emoji-mart",
|
"name": "emoji-mart",
|
||||||
"version": "0.2.9",
|
"version": "0.2.10",
|
||||||
"description": "Customizable Slack-like emoji picker for React",
|
"description": "Customizable Slack-like emoji picker for React",
|
||||||
"main": "dist/emoji-mart.js",
|
"main": "dist/emoji-mart.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue