From c4b50a190a285e983ade06eb2a6d651b040c614c Mon Sep 17 00:00:00 2001 From: moist-webDev Date: Sat, 27 May 2023 00:49:20 -0400 Subject: [PATCH] prop name change --- components/Button.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/Button.tsx b/components/Button.tsx index 46deee4..bd62fd4 100644 --- a/components/Button.tsx +++ b/components/Button.tsx @@ -1,12 +1,12 @@ import { StyleSheet, Text, View} from 'react-native'; -export default function Button({ title='', theme={}, onPress, eStyle={} }:any){ +export default function Button({ title='', theme={}, onPress, style={} }:any){ return ( - {title} + {title} ) } -const style = (theme:any) => { +const cstyle = (theme:any) => { return StyleSheet.create({ container: { },