mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 22:39:23 -05:00
13 lines
270 B
Rust
13 lines
270 B
Rust
use leptos::*;
|
|
|
|
use crate::mount_style;
|
|
|
|
#[component]
|
|
pub fn Divider() -> impl IntoView {
|
|
mount_style("divider", include_str!("./divider.css"));
|
|
view! {
|
|
<div class="melt-divider">
|
|
<div class="melt-divider__line"></div>
|
|
</div>
|
|
}
|
|
}
|