UNPKG

react-native-onboarding-screens

Version:
18 lines (14 loc) 396 B
import React from 'react'; import TextButton from './TextButton'; import { BUTTON_SIZE, MARGIN_RIGHT, getDefaultStyle } from './util'; const NextButton = ({ nextLabel, isLight, ...rest }) => ( <TextButton size={BUTTON_SIZE} style={{ marginRight: MARGIN_RIGHT }} textStyle={getDefaultStyle(isLight)} {...rest} > {nextLabel} </TextButton> ); export default NextButton;