import React from "react";
import { TouchableOpacity } from "react-native";
import { View } from "../View";
import { ButtonPropsType } from "./Button";
const BaseButton = (props: ButtonPropsType) => {
const {
accessibilityLabel,
accessibilityRole,
disabled,
href,
onPress,
children,
style,
...rest
} = props;
return href ? (
{children}
) : (
{children}
);
};
export default BaseButton;