text: import { useEffect } from 'react';
  import { Dropdown } from 'rsuite';
  import BookmarkItem from './BookmarkItem';
  
  const BookmarkFolder = ({Bookmarks}) => {
  
      return (
          <Dropdown.Menu title={Bookmarks.title}>
              {Bookmarks.children.map((mark) => {
                  return (mark.children === undefined ? <BookmarkItem Bookmark={mark}/> : <BookmarkFolder Bookmarks={mark}/>)
              })}
          </Dropdown.Menu>
      );
  
  };
  
  export default BookmarkFolder;