import { BackArrow } from "../../Components/Icons/BackArrow"; import { Button, Col, Drawer, Row } from "antd"; import { ForwardArrow } from "../../Components/Icons/ForwardArrow"; import { Link } from "react-router-dom"; import { NLView } from "../../types"; import { SelectMoodForm } from "../../Components/SelectMood"; import { useState } from "react"; interface ITitle { title?: string; href?: string; navigationPrevRef?: any; navigationNextRef?: any; deeplikeActions?: boolean; deepLikeContainer?: React.MutableRefObject; setVisible?: React.Dispatch>; visible?: boolean; } const Title: NLView = ({ title, href, navigationPrevRef, navigationNextRef, deeplikeActions, deepLikeContainer, setVisible, visible, }) => { return ( {title && (

{title}

)} {navigationPrevRef && navigationNextRef && (
)} {href && ( )} {deeplikeActions && setVisible && ( setVisible((p) => !p)}> {visible ? "Hide" : "See all"} )}
); }; export default Title;