@fiteo/react-native-outfit-carousel

1.0.0 • Public • Published

Outfit Carousel

Installation

yarn add @fiteo/react-native-outfit-carousel

Usage

import { FiteoOutfitCarousel } from '@fiteo/react-native-outfit-carousel';

//...
<FiteoOutfitCarousel
    query={{ page: 1, perPage: 3, tag: ['coffee date'] }}
    apiKey={'123123'}
    onItemTap={(item: FiteoOutfit) => {}}
/>
//...
Props Type Description
query Object Following this doc https://fiteo.thesweetsuite.net:15803/swagger/#/Outfits/get_outfits_search
apiKey String Provided by Fiteo
onItemTap Function Callback function that triggered when an outfit item is tapped

Development

  1. Install project dependencies (including example project):
yarn setup
  1. Compile the library with hot reload:
yarn dev
  1. Running example app:
yarn start-ex

Publishing

(TBD)

Testing

Using Jest to test with code coverage:

yarn test

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @fiteo/react-native-outfit-carousel

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

423 kB

Total Files

33

Last publish

Collaborators

  • tamn6uyen
  • hoangfiteo
  • fiteo_inc