create artist ui created

This commit is contained in:
Danny Zou 2024-05-21 22:39:48 -04:00
parent 1ecd13d65f
commit 3ce762ce5b

View File

@ -0,0 +1,15 @@
use leptos::*;
use leptos_icons::*;
#[component]
pub fn AddArtistBtn(add_artist_open: RwSignal<bool>) -> impl IntoView {
let open_dialog = move |_| {
add_artist_open.set(true);
};
view! {
<button class="add-artist-btn add-btns" on:click=open_dialog>
Add Artist
</button>
}
}