summaryrefslogtreecommitdiff
path: root/util/uniorg.tsx
diff options
context:
space:
mode:
authorHuynh Tan <[email protected]>2022-06-30 15:52:03 +0700
committerHuynh Tan <[email protected]>2022-06-30 15:52:03 +0700
commit11111bb49889feb1b00e6814d9d81e3e23409d7c (patch)
tree34abd3ac10a1112baaea318cf5e38eabe33acb0a /util/uniorg.tsx
parent94b543c1d28743f85bee2342609ff2019f7ec7d8 (diff)
Read useInheritance from emacs config
Diffstat (limited to 'util/uniorg.tsx')
-rw-r--r--util/uniorg.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/uniorg.tsx b/util/uniorg.tsx
index 6580b9c..4172d7a 100644
--- a/util/uniorg.tsx
+++ b/util/uniorg.tsx
@@ -15,6 +15,7 @@ export interface UniOrgProps {
linksByNodeId: LinksByNodeId
macros?: { [key: string]: string }
attachDir: string
+ useInheritance: boolean
}
export const UniOrg = (props: UniOrgProps) => {
@@ -30,6 +31,7 @@ export const UniOrg = (props: UniOrgProps) => {
linksByNodeId,
macros,
attachDir,
+ useInheritance,
} = props
const [previewText, setPreviewText] = useState('')
@@ -72,6 +74,7 @@ export const UniOrg = (props: UniOrgProps) => {
collapse,
linksByNodeId,
attachDir,
+ useInheritance,
}}
macros={macros || {}}
/>