UNPKG

react-native-progress-steps

Version:

A simple and fully customizable React Native component that implements a progress stepper UI.

12 lines (9 loc) 406 B
import React from 'react'; import { View } from 'react-native'; const ProgressButtons = props => ( <View style={{ flexDirection: 'row', marginTop: 90 }}> <View style={{ position: 'absolute', left: 60, bottom: 40 }}>{props.renderPreviousButton()}</View> <View style={{ position: 'absolute', right: 60, bottom: 40 }}>{props.renderNextButton()}</View> </View> ); export default ProgressButtons;