mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-24 06:49:21 -05:00
14 lines
270 B
Rust
14 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>
|
||
|
}
|
||
|
}
|