0.2.1 • Published 3 years ago

react-native-swipestack v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

WIP (unstable)

React-Native Swipe Card Stack

Package implementing a flexible approach for tinder-like swipe cards. By exposing the pan developers can easily use their choice of animation.

Demo

Insert gif or link to demo

Installation

This package requires no additional dependencies and you can simply install it via the CLI with your package manager of choice.

  yarn add react-native-swipestack
  npm install react-native-swipestack

Usage/Example

See the example app in the example folder: /example

API Reference

Get all items

  GET /api/items
ParameterTypeDescription
api_keystringRequired. Your API key

Get item

  GET /api/items/${id}
ParameterTypeDescription
idstringRequired. Id of item to fetch

add(num1, num2)

Takes two numbers and returns the sum.