Skip to content
Uday Sravan K edited this page Aug 31, 2019 · 5 revisions

Welcome to the RNSwipeButton wiki!

      <Text>React Native Swipe Button - Enabled</Text>
      <SwipeButton />
      <Text>React Native Swipe Button - Disabled</Text>
      <SwipeButton disabled={true} />
      <Text>React Native Swipe Button - With onSwipeSuccess callback</Text>
      <SwipeButton
        disabled={false}
        onSwipeSuccess={() => {
          ToastAndroid.showWithGravity(
            'Submitted successfully!',
            ToastAndroid.SHORT,
            ToastAndroid.CENTER,
          );
        }}
      />

Clone this wiki locally