Skip to content

Instantly share code, notes, and snippets.

@Mr-Malomz
Created September 26, 2022 19:48
Show Gist options
  • Save Mr-Malomz/3ec927d2acfc0a0ddcccc87197fdcd90 to your computer and use it in GitHub Desktop.
Save Mr-Malomz/3ec927d2acfc0a0ddcccc87197fdcd90 to your computer and use it in GitHub Desktop.
use yew::prelude::*;
#[function_component(Header)]
pub fn header() -> Html {
html! {
<nav class="navbar bg-black">
<div class="container-fluid">
<a class="navbar-brand text-white" href="#">{"User List"}</a>
</div>
</nav>
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment