0.2.1 • Published 8 years ago
@moqada/rn-twemoji v0.2.1
rn-twemoji
twemoji resources for React Native.
Installation
npm install --save @moqada/rn-twemoji
Usage
// Name base
<Image source={require('@moqada/rn-twemoji/n/sushi')} />;
// Code base
<Image source={require('@moqada/rn-twemoji/c/1f363')} />;
Version specification
// twemoji v1
<Image source={require('@moqada/rn-twemoji/1/n/sushi')} />;
// twemoji v2
<Image source={require('@moqada/rn-twemoji/2/n/sushi')} />;
<Image source={require('@moqada/rn-twemoji/n/sushi')} />;
Development
git submodule update --init
npm i
Generate images and codes from original twemoji resources.
npm run build
License
follow twitter/twemoji.