import { StyleSheet, Text, TextStyle, TouchableOpacity, TouchableOpacityProps, ViewStyle, } from "react-native"; import React from "react"; import { useTheme } from "../../utils/Theme"; /** * These enum variants represent * default safecam button variants */ export enum defaultSafecamButtonVariants { "text" = "text", "filled" = "filled", "outlined" = "outlined", } /** * @interface SafecamButtonProps * @param {string} title - The title of the button. * @param {string} variant - The variant of the button. * @param {TextStyle} textStyle - The title style of the button. * @param {ViewStyle} buttonStyle - The button styles of the button. * @param {ViewStyle} startIcon - The start Icon of the button. * @param {ViewStyle} endIcon - The end Icon of the button. */ export interface SafecamButtonProps extends Omit { title: string; variant?: defaultSafecamButtonVariants | string; textStyle?: TextStyle; buttonStyle?: ViewStyle; startIcon?: React.ReactNode; endIcon?: React.ReactNode; } /** * @component * Represents a SafecamButton instance * @param {string} title - The title of the button. * @param {string} variant - The variant of the button. * @param {TextStyle} textStyle - The title style of the button. * @param {ViewStyle} buttonStyle - The button styles of the button. * @param {ViewStyle} startIcon - The start Icon of the button. * @param {ViewStyle} endIcon - The end Icon of the button. * @example *