import { NavigationHelpersContext, useNavigation, useNavigationState, } from "@react-navigation/native"; import * as React from "react"; import { Component } from "react"; import { useNavigate } from "react-router-dom"; interface InvolveBoxProps { boxTitle: string; image: string; description: string; } export default class InvolveBox extends Component { constructor(props: InvolveBoxProps) { super(props); this.state = {}; } public render() { if (this.props.boxTitle) { return (
{this.props.boxTitle}
{this.props.description}
); } else { return (
{this.props.boxTitle}
{this.props.description}
); } } }