Merge pull request #12 from npmcdn-to-unpkg-bot/npmcdn-to-unpkg

Replace npmcdn.com with unpkg.com
release
Etienne Lemay 2016-09-29 20:59:44 -04:00 committed by GitHub
commit b3498a0766
2 changed files with 5 additions and 5 deletions

View File

@ -52,9 +52,9 @@ Examples of `emoji` object:
}
```
You can use [npmcdn](https://npmcdn.com/emoji-mart@0.2.0/sheets/) with the sheets included in this repo:<br>
https://npmcdn.com/emoji-mart@0.2.0/sheets/sheet_apple_64.png<br>
https://npmcdn.com/emoji-mart@0.2.0/sheets/sheet_emojione_64.png
You can use [unpkg](https://unpkg.com/emoji-mart@0.2.0/sheets/) with the sheets included in this repo:<br>
https://unpkg.com/emoji-mart@0.2.0/sheets/sheet_apple_64.png<br>
https://unpkg.com/emoji-mart@0.2.0/sheets/sheet_emojione_64.png
### Emoji
```jsx

View File

@ -49,7 +49,7 @@ class Example extends React.Component {
onClick={() => this.setState({ set: set })}
{...props}>
<Emoji
sheetURL={`https://npmcdn.com/emoji-mart@0.2.1/sheets/sheet_${set}_32.png`}
sheetURL={`https://unpkg.com/emoji-mart@0.2.1/sheets/sheet_${set}_32.png`}
size={24}
emoji='grinning'
/>
@ -86,7 +86,7 @@ class Example extends React.Component {
emojiSize={this.state.emojiSize}
perLine={this.state.perLine}
skin={this.state.skin}
sheetURL={`https://npmcdn.com/emoji-mart@0.2.1/sheets/sheet_${this.state.set}_64.png`}
sheetURL={`https://unpkg.com/emoji-mart@0.2.1/sheets/sheet_${this.state.set}_64.png`}
onClick={(emoji) => console.log(emoji)}
/>
}