Created
March 10, 2023 11:01
-
-
Save Mr-Malomz/5e992f8f80c73938c21bc5f01f6293d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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