You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mobile/components/ui/Button.tsx

18 lines
445 B

import React from "react";
import { TouchableOpacity, View } from "react-native";
import CustomText from "./Text";
type props = { title: string; size: string };
const Button = ({ title, size }: props) => (
<View className="bg-black rounded-3xl">
<TouchableOpacity className="p-4">
<CustomText center={true} color="white" size={size}>
{title}
</CustomText>
</TouchableOpacity>
</View>
);
export default Button;