obsidian-portfolio
    Preparing search index...
    • Create a button for a folder that can collapse its contents, given the option.

      Parameters

      • props: FolderButtonProps & { children?: ReactNode }

        the function properties, including a React child text element.

        The input properties for the FolderButton function.

        • OptionalcanOpen?: boolean

          (optional) whether the folder can be collapsed.

        • title: string

          the text of the button.

        • Optionalchildren?: ReactNode

          a React text element.

      Returns Element

      a React element.