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

View file

@ -196,9 +196,9 @@ pub struct IconElement {
}
impl RenderOnce for IconElement {
type Rendered = Svg;
type Output = Svg;
fn render(self, cx: &mut WindowContext) -> Self::Rendered {
fn render(self, cx: &mut WindowContext) -> Self::Output {
svg()
.size(self.size.rems())
.flex_none()