Skip to main content

ui/components/list/
list_separator.rs

1use crate::prelude::*;
2
3#[derive(IntoElement)]
4pub struct ListSeparator;
5
6impl RenderOnce for ListSeparator {
7    fn render(self, _window: &mut Window, cx: &mut App) -> impl IntoElement {
8        div()
9            .h_px()
10            .w_full()
11            .my(DynamicSpacing::Base06.rems(cx))
12            .bg(semantic::border_muted(cx))
13    }
14}