import { Icon } from "components/Ico"; import { Button } from "components/Inputs/Button"; import { ToolTip } from "components/ToolTip"; import { LibraryItemUserStatus } from "types/types"; import { useAppLayout } from "contexts/AppLayoutContext"; import { cIf, cJoin } from "helpers/className"; /* * ╭─────────────╮ * ───────────────────────────────────────╯ COMPONENT ╰─────────────────────────────────────────── */ interface Props { id: string; expand?: boolean; } // ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ export const PreviewCardCTAs = ({ id, expand = false }: Props): JSX.Element => { const { libraryItemUserStatus, setLibraryItemUserStatus, langui } = useAppLayout(); return (