| 6 | import { useResponsiveLayout } from "@/hooks/useResponsiveLayout"; |
| 7 | |
| 8 | interface StyledButtonProps extends PressableProps { |
| 9 | children?: React.ReactNode; |
| 10 | text?: string; |
| 11 | variant?: "default" | "primary" | "ghost"; |
| 12 | isSelected?: boolean; |
| 13 | style?: StyleProp<ViewStyle>; |
| 14 | textStyle?: StyleProp<TextStyle>; |
| 15 | } |
| 16 | |
| 17 | export const StyledButton = forwardRef<View, StyledButtonProps>( |
| 18 | ({ children, text, variant = "default", isSelected = false, style, textStyle, ...rest }, ref) => { |
nothing calls this directly
no outgoing calls
no test coverage detected