Chore: Adds buttons instead of links to about

This commit is contained in:
bl00dymarie
2022-02-06 20:59:15 +01:00
committed by Lisa Hillebrand
parent b93983243e
commit 03b359019e
4 changed files with 109 additions and 47 deletions
+20
View File
@@ -0,0 +1,20 @@
import React from 'react'
import PropTypes from 'prop-types'
import { StyleSheet, View } from 'react-native'
const ButtonToButton = ({ children }) => {
return <View style={styles.container}>{children}</View>
}
ButtonToButton.propTypes = {
children: PropTypes.node,
}
const styles = StyleSheet.create({
container: {
flexDirection: 'row',
justifyContent: 'space-between',
},
})
export default ButtonToButton