JSPM

react-native-vertical-distribution

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q40273F
  • License MIT

Package Exports

  • react-native-vertical-distribution

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-vertical-distribution) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-vertical-distribution

A simple UI component/animation for double menu distribution in react native.

It's so simple to use. You just need to pass the data (categories) for both of the columns/double menu

& it will render the same animation as below 😄

Usage:

Just import the DoubleMenu component from 'react-native-vertical-distribution' in your file:

import DoubleMenu from 'react-native-vertical-distribution';

And call it like this:

<DoubleMenu firstMenu={DATA1} secondMenu={DATA2} />

where, DATA1 & DATA2 are two array of objects for first and second menu/column respectively.