chore(doc): add documentation for a handful of widgets
This commit is contained in:
parent
0d4c3db162
commit
f4936344f0
15 changed files with 113 additions and 10 deletions
|
|
@ -1,6 +1,8 @@
|
|||
// Copyright 2023 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//! An overlayed widget that attaches a toggleable context drawer to the view.
|
||||
|
||||
mod overlay;
|
||||
|
||||
mod widget;
|
||||
|
|
@ -8,6 +10,7 @@ pub use widget::ContextDrawer;
|
|||
|
||||
use crate::Element;
|
||||
|
||||
/// An overlayed widget that attaches a toggleable context drawer to the view.
|
||||
pub fn context_drawer<'a, Message: Clone + 'static, Content, Drawer>(
|
||||
header: &'a str,
|
||||
on_close: Message,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue