From 56eeb1fc6b03c4e8ed9405e301c7edc7be5fd5d9 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Fri, 1 Oct 2021 19:11:08 +0200 Subject: feat: basic preview feature --- pages/uniorg.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pages/uniorg.tsx') diff --git a/pages/uniorg.tsx b/pages/uniorg.tsx index 65786c9..0c77cdb 100644 --- a/pages/uniorg.tsx +++ b/pages/uniorg.tsx @@ -11,7 +11,7 @@ export interface uniorgProps { orgText: string } -const UniOrg = (props: uniorgProps) => { +export const UniOrg = (props: uniorgProps) => { const { orgText } = props const processor = unified() .use(uniorgParse) @@ -22,4 +22,3 @@ const UniOrg = (props: uniorgProps) => { return
processor.processSync(orgText)
} -export default UniOrg -- cgit v1.2.3