From 11111bb49889feb1b00e6814d9d81e3e23409d7c Mon Sep 17 00:00:00 2001 From: Huynh Tan Date: Thu, 30 Jun 2022 15:52:03 +0700 Subject: Read useInheritance from emacs config --- util/uniorg.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/uniorg.tsx') 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 || {}} /> -- cgit v1.2.3