npm.io
1.0.6 • Published 3 years ago

custom-animated-drawer-hmynnd

Licence
ISC
Version
1.0.6
Deps
0
Size
3 kB
Vulns
0
Weekly
0

custom-animated-drawer-hmynnd

Add an elegant animated drawer to your React Native app.

Installation

npm install custom-animated-drawer-hmynnd

Usage

import React from 'react';
import { View, Text } from 'react-native';
import DrawerSceneWrapper from 'custom-animated-drawer-hmynnd';

const App = () => {
  return (
    <DrawerSceneWrapper>
      <View>
        <Text>Your app content goes here</Text>
      </View>
    </DrawerSceneWrapper>
  );
};

export default App;

Minimum Requirements

  • Node.js 18.x or later
  • React Native 0.71.x or later
  • @react-navigation 6.0.0 or later
  • react-native-reanimated 3.1.0 or later

Props

Prop Type Description
children component component that should animate while drawer is opening