import { motion } from "framer-motion"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { IconProp } from "@fortawesome/fontawesome-svg-core"; import { Button, Divider } from "@nextui-org/react"; import { faXmark } from "@fortawesome/free-solid-svg-icons"; import { JSX } from "react"; /** * Information sidebar * * TODO: add customization for this post-event (#46) * * @returns */ export const SidebarBase = ({ children, shown, icon, setSidebarShown, title, description, side, }: { children: string | JSX.Element | JSX.Element[]; icon: IconProp; shown: boolean; setSidebarShown: (value: boolean) => void; title: string; description: string; side: "Left" | "Right"; }) => { return (
{description}