Skip to content

About

A card component inspired by Tinycards.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

contributions welcome npm version

Card component inspired by Tinycards

Dependencies

  1. react-native-flip-card

Installation

  1. yarn add react-native-tinycard

Usage

import React, {Component} from 'react'
import {View} from 'react-native'
import Tinycard from 'react-native-tinycard'

class App extends Component {
    render() {
        <View>
            <Tinycard
                word={'book'}
                translation={'libra'}
                onContinue={() => console.log('Swipped the card. Showing next!')}
            />
        </View>
    }
}

Running the example project

  1. Fork and clone the rope
  2. cd react-native-tinycard
  3. Install dependencies: cd example && yarn
  4. Symlink the source code to get livesync: npm link ../
  5. Run the project from main dir: cd .. && yarn start

About

A card component inspired by Tinycards.

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages