# react-native-tinycard

> Tinycards inspired swipable card component

Latest version **1.0.1** (published 2017-12-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-tinycard
pnpm add react-native-tinycard
yarn add react-native-tinycard
bun add react-native-tinycard
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-12-02 |
| First published | 2017-11-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Pavlo Kochubei |
| Maintainers | pavloko |
| Keywords | react-native, swipable card, swipable, swiper, card |

## Links

- npm: https://www.npmjs.com/package/react-native-tinycard
- Repository: https://github.com/pavloko/react-native-tinycard
- Homepage: https://github.com/pavloko/react-native-tinycard#readme
- Issues: https://github.com/pavloko/react-native-tinycard/issues
- npm.io page: https://npm.io/package/react-native-tinycard

## Dependencies (1)

- [react-native-flip-card](https://npm.io/package/react-native-flip-card.md) 3.5.0

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-12-02
- 0.0.1 — 2017-11-17
- 1.0.0 — 2017-11-17

## README

[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/dwyl/esta/issues)
[![npm version](https://badge.fury.io/js/react-native-tinycard.svg)](https://badge.fury.io/js/react-native-tinycard)

### Card component inspired by [Tinycards](https://tinycards.duolingo.com/)
![](https://github.com/pavloko/react-native-tinycard/blob/master/screenshots/react-native-tinycard.gif "react-native-tinycard-screenshoty")

### Dependencies
1. [react-native-flip-card](https://github.com/moschan/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`

---
_Source: https://npm.io/package/react-native-tinycard · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
