UNPKG

react-native-onboarding-screens

Version:
18 lines (14 loc) 393 B
import React from 'react'; import TextButton from './TextButton'; import { BUTTON_SIZE, MARGIN_LEFT, getDefaultStyle } from './util'; const SkipButton = ({ skipLabel, isLight, ...rest }) => ( <TextButton size={BUTTON_SIZE} style={{ marginLeft: MARGIN_LEFT }} textStyle={getDefaultStyle(isLight)} {...rest} > {skipLabel} </TextButton> ); export default SkipButton;