use leptos::prelude::*;
use crate::components::extensions::copy_button::CopyButton;
use crate::components::ui::input::Input;
#[component]
pub fn DemoCopyButton() -> impl IntoView {
const STRING_TO_COPY: &str = "Hello, world!";
view! {
<div class="flex flex-col gap-6 justify-center items-center">
<p>{STRING_TO_COPY}</p>
<CopyButton string_to_copy=STRING_TO_COPY />
<Input />
</div>
}
}