react-native-progress-steps icon indicating copy to clipboard operation
react-native-progress-steps copied to clipboard

Adding a prop for bottom padding

Open SaulNunez opened this issue 6 years ago • 3 comments

Screenshot_1561687193

Is it possible to change the bottom padding? This looks kinda strange.

SaulNunez avatar Jun 28 '19 02:06 SaulNunez

@SaulNunez - Are you referring to the padding below the buttons at the bottom of the screen?

colbymillerdev avatar Jul 03 '19 14:07 colbymillerdev

Yes

SaulNunez avatar Jul 07 '19 17:07 SaulNunez

From ProgressButtons.js, change to this

const ProgressButtons = props => ( <SafeAreaView style={{ flexDirection: 'row', paddingHorizontal: 20, paddingVertical: 10 }}> <View style={{ flexGrow: 1, alignItems: 'flex-start' }}>{props.renderPreviousButton()}</View> <View style={{ flexGrow: 1, alignItems: 'flex-end' }}>{props.renderNextButton()}</View> </SafeAreaView> );

levu304 avatar Jan 31 '20 14:01 levu304