use leptos::{ IntoView, component, html::Input, prelude::{ClassAttribute, ElementChild, GlobalAttributes, NodeRef, NodeRefAttribute}, view, }; use uuid::Uuid; #[component] pub fn InputPlaceholder( input_type: &'static str, label: &'static str, node_ref: NodeRef, #[prop(default = None)] initial_value: Option, ) -> impl IntoView { let id = Uuid::new_v4(); view! {
// TODO: Reference `var(--tw-border-2)` instead of the `2 px` <2025-10-01>
} }