Backpack React Native boilerplate component.
Check the main Readme for a complete installation guide.
import React, { Component } from 'react';
import { StyleSheet, View } from 'react-native';
import { spacingBase } from '@skyscanner/bpk-foundations-react-native/tokens/base.react.native';
import BpkBoilerplate from 'backpack-react-native/bpk-component-boilerplate';
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
padding: spacingBase,
},
});
export default () => (
<View style={styles.container}>
<BpkBoilerplate />
</View>
);
TODO - Add your component's prop types here.