summaryrefslogtreecommitdiff
path: root/pages/uniorg.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-01 19:11:08 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-01 19:11:08 +0200
commit56eeb1fc6b03c4e8ed9405e301c7edc7be5fd5d9 (patch)
tree0c7e889f2d749abad3d65a16d4ee0449002c4d89 /pages/uniorg.tsx
parent56e81e56ad181129c9f36b75e5ca076162b7cac7 (diff)
feat: basic preview feature
Diffstat (limited to 'pages/uniorg.tsx')
-rw-r--r--pages/uniorg.tsx3
1 files changed, 1 insertions, 2 deletions
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 <div>processor.processSync(orgText)</div>
}
-export default UniOrg