Skip to content

dvinfosys/React-Native-TextStroke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Native-TextStroke

Installation

npm install --save react-native-textstroke

or

yarn add react-native-textstroke

Usage

Here's a simple example. To render output like this:

example

import * as React from 'react';
import TextStroke from 'react-native-textstroke';

export default () => (
  <TextStroke stroke={1} color="#21C57F">
    <Text style={{
     fontFamily: 'SFUIDisplay-SemiBold',
     fontSize: 16,
     marginLeft: 20,
     paddingLeft: 2,
     marginBottom: 20,
     letterSpacing: 2,
     color: 'white',
     fontWeight: '600',
     lineHeight: 17
    }}>React Native TextStroke Example</Text>
  </TextStroke>
);

License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published