Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
use crate::prelude::*;
#[derive(IntoElement)]
pub struct ListSeparator;
impl RenderOnce for ListSeparator {
fn render(self, _window: &mut Window, cx: &mut App) -> impl IntoElement {
div()
.h_px()
.w_full()
.my(DynamicSpacing::Base06.rems(cx))
.bg(cx.theme().colors().border_variant)
}
}