diff options
author | Thomas F. K. Jorna <[email protected]> | 2022-09-27 16:32:13 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-27 16:32:13 +0200 |
commit | 6f783297f37e95d083b32a7160afcb55e309e883 (patch) | |
tree | af9fdc3db50ecbc61036d88c81eeea3703ff17cc /components/Sidebar/Section.tsx | |
parent | 16a8da9e5107833032893bc4c0680b368ac423ac (diff) | |
parent | 1936250b99b8747d841edd83002ed20ec12aa793 (diff) |
feat: add ability to add/remove nodes to/from the local graph from emacs
Adds the commands `org-roam-ui-add-to-local-graph` and `org-roam-ui-remove-from-local-graph`
Diffstat (limited to 'components/Sidebar/Section.tsx')
-rw-r--r-- | components/Sidebar/Section.tsx | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/components/Sidebar/Section.tsx b/components/Sidebar/Section.tsx index adaf00e..7e99f4f 100644 --- a/components/Sidebar/Section.tsx +++ b/components/Sidebar/Section.tsx @@ -1,17 +1,7 @@ -import { Box, Collapse, Flex, IconButton } from '@chakra-ui/react' -import React, { - JSXElementConstructor, - ReactChild, - ReactElement, - ReactNode, - useContext, - useEffect, - useState, -} from 'react' -import { BiCaretDownCircle, BiChevronDownCircle, BiCircle } from 'react-icons/bi' -import { ComponentLike, ComponentPropsWithoutNode } from 'rehype-react' +import { Box, Flex, IconButton } from '@chakra-ui/react' +import React, { ReactChild, useContext, useEffect, useState } from 'react' import { VscCircleFilled, VscCircleOutline } from 'react-icons/vsc' -import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon } from '@chakra-ui/icons' +import { ChevronDownIcon, ChevronUpIcon } from '@chakra-ui/icons' import { NoteContext } from '../../util/NoteContext' export interface SectionProps { |