Skip to content

Instantly share code, notes, and snippets.

@Mr-Malomz
Created March 10, 2023 11:01
Show Gist options
  • Save Mr-Malomz/5e992f8f80c73938c21bc5f01f6293d5 to your computer and use it in GitHub Desktop.
Save Mr-Malomz/5e992f8f80c73938c21bc5f01f6293d5 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="#">{"Product List"}</a>
</div>
</nav>
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment