The bar across the top of a screen: a title on the left and, on the right, the actions (icon buttons, a menu).
Signature
pub fn top_bar<'a, M: Clone + 'a, C: Children<M> + 'a>( title: &'a str, actions: C, ) -> impl View<M> + 'aExample
use fusuma::{Icon, button, top_bar};
let view = top_bar("Inbox", (button("Edit").icon(Icon::Settings),));
let built = fusuma::doc::built::<(), _>(&view);
assert_eq!(built.texts(), ["Inbox", "Edit"]);