summaryrefslogtreecommitdiff
path: root/components/Sidebar/index.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-12-04 11:55:39 +0100
committerThomas F. K. Jorna <[email protected]>2021-12-04 11:55:39 +0100
commitd57edaebf8dacc9159c35e1084b7d600f077e18e (patch)
tree79c4bcb34bc4a6e0684f07124cdaac01da4e7160 /components/Sidebar/index.tsx
parentfca239e3140e660fc26dd7b7bc7bfbbcfafe8630 (diff)
feat: add own latex macros
Diffstat (limited to 'components/Sidebar/index.tsx')
-rw-r--r--components/Sidebar/index.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/Sidebar/index.tsx b/components/Sidebar/index.tsx
index 141c26d..c23d938 100644
--- a/components/Sidebar/index.tsx
+++ b/components/Sidebar/index.tsx
@@ -49,6 +49,7 @@ export interface SidebarProps {
setFilter: any
tagColors: TagColors
setTagColors: any
+ macros?: { [key: string]: string }
}
const Sidebar = (props: SidebarProps) => {
@@ -75,6 +76,7 @@ const Sidebar = (props: SidebarProps) => {
setFilter,
tagColors,
setTagColors,
+ macros,
} = props
const { highlightColor } = useContext(ThemeContext)
@@ -225,6 +227,7 @@ const Sidebar = (props: SidebarProps) => {
outline,
setOutline,
collapse,
+ macros,
}}
/>
</VStack>