wooterz-onboarding-swiper
Version:
wooterz app fork of Onboarding 0.0.5 for your React-Native App
17 lines (14 loc) • 411 B
JavaScript
import React from 'react';
import TextButton from './TextButton';
import { BUTTON_SIZE, MARGIN_RIGHT, getDefaultStyle } from './util';
const DoneButton = ({ doneLabel, isLight, ...rest }) => (
<TextButton
size={BUTTON_SIZE}
style={{ marginRight: MARGIN_RIGHT }}
textStyle={getDefaultStyle(isLight)}
{...rest}
>
{doneLabel}
</TextButton>
);
export default DoneButton;