create artist ui created
This commit is contained in:
parent
1ecd13d65f
commit
3ce762ce5b
15
src/components/add_artist.rs
Normal file
15
src/components/add_artist.rs
Normal 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>
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user