import type { CSSProperties, ReactNode } from "react"; import { ArrowRightTiny } from "components/Icons/ArrowRightTiny"; // One-line page link row shared by the editor and the published post so the // two stay visually identical; only how the title text is rendered differs. export function CompactPageLink(props: { title: ReactNode | undefined; isHeading?: boolean; trailing?: ReactNode; }) { return (
{props.title ?? Untitled}
{props.trailing}
); }