react-native-textstroke

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i react-native-textstroke

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

24.2 kB

Total Files

5

Last publish

Collaborators

  • dvinfosys