mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add references
This commit is contained in:
parent
cb209a8d90
commit
f04f998168
1 changed files with 3 additions and 0 deletions
|
|
@ -204,6 +204,9 @@ impl Modals {
|
|||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// use xous_names::XousNames;
|
||||
/// use modals::Modals;
|
||||
///
|
||||
/// let xns = XousNames::new().unwrap();
|
||||
/// let modals = Modals::new(&xns).unwrap();
|
||||
/// modals.show_notification("Check the wiki:", Some("https://github.com/betrusted-io/betrusted-wiki/wiki")).unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue