Skip to content

moqada/rn-twemoji

Repository files navigation

rn-twemoji

Greenkeeper badge

NPM version Build Status Coverage Status Dependency Status DevDependency Status License

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.