Skip to content

Commit

Permalink
Merge pull request #264 from 43-21/main
Browse files Browse the repository at this point in the history
Remove errors occuring when sidebar feature isn't enabled
  • Loading branch information
genusistimelord authored Jul 19, 2024
2 parents 047b5a8 + 5542d18 commit 371aa8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widgets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@ pub type DropDown<'a, Overlay, Message, Renderer> =

#[cfg(feature = "sidebar")]
pub mod sidebar;
#[cfg(feature = "sidebar")]
/// A sidebar to show tabs on the side.
pub type Sidebar<'a, Message, TabId, Theme, Renderer> =
sidebar::Sidebar<'a, Message, TabId, Theme, Renderer>;
#[cfg(feature = "sidebar")]
/// A [`SidebarWithContent`] widget for showing a [`Sidebar`](super::sidebar::SideBar)
pub type SidebarWithContent<'a, Message, TabId, Theme, Renderer> =
sidebar::SidebarWithContent<'a, Message, TabId, Theme, Renderer>;

0 comments on commit 371aa8a

Please sign in to comment.