Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/chrisvander/schedj-frontend. A mobile application for students to access and manage scheduling and
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233import React from 'react';import { StyleSheet } from 'react-native';import Button from 'react-native-button';
const styles = StyleSheet.create({ buttonContainer: { borderRadius: 7, backgroundColor: '#2699FB', marginTop: 16, marginBottom: 16, alignItems: 'center', justifyContent: 'center', }, button: { padding: 16.5, color: 'white', fontSize: 12, fontWeight: 'bold', },});
export default ({ onPress, children }) => ( <Button activeOpacity={0.7} color="#FFFFFF" style={[styles.button]} containerStyle={[styles.buttonContainer]} onPress={onPress} > {children.toUpperCase()} </Button>);