Clean up Element API and start on docs

This commit is contained in:
Nathan Sobo
2023-12-31 08:33:40 -07:00
parent 5f2bb82ef3
commit 83923fd6d5
125 changed files with 370 additions and 335 deletions
@@ -83,9 +83,9 @@ impl FocusableView for CommandPalette {
}
impl Render for CommandPalette {
type Element = Div;
type Output = Div;
fn render(&mut self, _cx: &mut ViewContext<Self>) -> Self::Element {
fn render(&mut self, _cx: &mut ViewContext<Self>) -> Self::Output {
v_stack().w(rems(34.)).child(self.picker.clone())
}
}