import { Button, IButtonProps } from "native-base"; import React from "react"; import { withTheme } from "../../theme/hoc/withTheme"; interface IBasicButtonProps extends IButtonProps { text: string; onPress: () => void; } const ActionButton = withTheme({ name: "ActionButton" })(({ text, ...props }: IBasicButtonProps) => ( )); export const theme = { defaultProps: {}, baseStyle: { fontSize: "xl", fontWeight: "black", textTransform: "capitalize", boxShadow: "3px 3px 10px -1px rgba(11, 27, 102, 0.304824)", backgroundColor: "#00B0FF", transition: "background 0.25s", userSelect: "none" } }; export default ActionButton;