/* eslint-disable react/jsx-no-target-blank */ import { Fragment } from "react"; const roamMainPage = (title: string) =>

{title}

Click here to start writing.
Unlinked References
; const dnpLogEntry = (title: string) =>

{title}

Click here to start writing.
; const dnpLogEntryPreview = (title: string) =>

{title}

; const dnpLogView = ({ entries = [], preview = null }: { entries?: string[], preview?: string | null }) =>
{entries.map((title, index) => {dnpLogEntry(title)})} {preview && dnpLogEntryPreview(preview)}
; const inlinePageReference = (title: string) => {title} ; const aliasedLink = (href: string, title: string = "Some link title") => {title} ; const plainHrefLink = (href: string) => {href}; const roamBlock = ({ content, pageLinks = [] }) =>
{content}
; export const DnpLogWithItems = () => dnpLogView({ entries: ["November 12th, 2021"] }); export const DnpPageWithItems = () => roamMainPage("June 19th, 2021"); export const DnpLogWithoutItems = () => dnpLogView({ entries: ["April 6th, 1999"] }); export const DnpPageWithoutItems = () => roamMainPage("April 6th, 1999"); export const DnpPreviewWithItems = () => dnpLogView({ preview: "June 19th, 2021" }); export const CitekeyPageValid = () => roamMainPage("@blochImplementingSocialInterventions2021"); export const CitekeyPageInvalid = () => roamMainPage("@nonExistentCitekey"); export const NormalPageWithoutTaggingContent = () => roamMainPage("September"); export const NormalPageWithTaggingContent = () => roamMainPage("housing"); export const CitekeyReferenceValid = () => inlinePageReference("@blochImplementingSocialInterventions2021"); export const CitekeyReferenceInvalid = () => inlinePageReference("@nonExistentCitekey"); export const blockWithHrefLink = (tags) => roamBlock({ content: plainHrefLink("https://plain-example.com"), pageLinks: tags }); export const blockWithAliasedLink = (tags) => roamBlock({ content: aliasedLink("https://aliased-example.com"), pageLinks: tags });