0.0.8 • Published 3 years ago

react-native-reanimated-accordion v0.0.8

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

react-native-reanimated-accordion

A React Native accordion component that run at 60 fps, even on low-end devices.

Screenshot of React Native accordion

Installation

  1. Run: $ npm install --save react-native-reanimated-accordion or yarn add react-native-reanimated-accordion
  2. As react-native-reanimated and react-native-vector-icons are peer dependencies, ensure you have them installed and linked properly. Check peer dependencies on package.json file make sure correct version installed.

Usage

import Accordion from "react-native-reanimated-accordion";

const App = () => (
  <Accordion
    headerComponent={
      <View>
        <Text>Header</Text>
      </View>
    }
    bodyComponent={
      <View
        style={{
          backgroundColor: "green",
          width: "100%",
          height: 500
        }}
      >
        <Text>Content</Text>
      </View>
    }
  />
);
0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago