0.1.3-rc3 • Published 6 years ago

react-native-quote-generator v0.1.3-rc3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react-native-quote-generator

A react-native quote generator component that generates a random quote from a list each time the page is reloaded

These directions assume you already have a react-native environment set up

  1. In your terminal, cd to your project directory and install the package by running: npm install react-native-quote-generator or yarn add react-native-quote-generator

  2. Import the component into the screen where you want the random quotes to appear:

import Quote from 'react-native-quote-generator';

  1. Drop the component in a view like this:
  <View>
    <Quote />
  </View>

That's it! Style the Quote component in a View and enjoy some random inspiring quotes!