implementing pages and styles

This commit is contained in:
gustavo-em
2022-02-24 16:03:28 -03:00
parent 7157c984aa
commit 6a5acf1084
16 changed files with 565 additions and 43 deletions

View File

@@ -0,0 +1,19 @@
import React from 'react'
import { Text } from 'react-native'
import { TouchableOpacity } from 'react-native-gesture-handler'
import { ButtonAppStyle, TextButton } from './styles';
type IButtonApp = {
children?: object
onPress?: Function
}
export const ButtonApp = ({children, onPress}:IButtonApp)=>{
return (
<>
<ButtonAppStyle onPress={onPress}>
<TextButton>{children}</TextButton>
</ButtonAppStyle>
</>
)
}