Commit e514ef17 by G

pressing the button actually do something now

parent b4bb8cfc
...@@ -13,7 +13,7 @@ type Props = BoxProps<Theme> & ...@@ -13,7 +13,7 @@ type Props = BoxProps<Theme> &
const Button = ({ onPress, label, textVariants, variant, ...rest }: Props) => { const Button = ({ onPress, label, textVariants, variant, ...rest }: Props) => {
return ( return (
<TouchableOpacity> <TouchableOpacity onPress={onPress}>
<ButtonBase variant={variant} justifyContent="center" alignItems="center" {...rest}> <ButtonBase variant={variant} justifyContent="center" alignItems="center" {...rest}>
<Text variant={textVariants}>{label}</Text> <Text variant={textVariants}>{label}</Text>
</ButtonBase> </ButtonBase>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment