0.8.0 • Published 10 months ago

react-native-drag-expand v0.8.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

react-native-drag-expand

npm version npm downloads GitHub license PRs Welcome

Demo

Installing react-native-drag-expand

To install react-native-drag-expand:

npm install react-native-drag-expand

Next, add the view:

import {DragExpandView} from 'react-native-drag-expand'
import {Text, View} from 'react-native'

export default function App() {
  return (
    // Styled view container
    <View>
      <DragExpandView>
        <DragExpandView.Collapsed>
          <View>
            <Text>Your collapsed content</Text>
          </View>
        </DragExpandView.Collapsed>
        <DragExpandView.Expanded>
          <View>
            <Text>Your expanded content</Text>
          </View>
        </DragExpandView.Expanded>
        <DragExpandView.Knob>
          <View>
            <Text>Your drag hold point view</Text>
          </View>
        </DragExpandView.Knob>
      </DragExpandView>
    </View>
  )
}
0.8.0

10 months ago

0.7.3

10 months ago

0.7.2

10 months ago

0.7.1

10 months ago

0.7.0

10 months ago

0.6.0

10 months ago

0.5.0

10 months ago

0.4.0

12 months ago

0.3.0

12 months ago

0.2.0

12 months ago

0.1.0

12 months ago