Constant freya::elements::rect::height

pub const height: (&'static str, Option<&'static str>, bool);
Expand description

Specify the width and height for the given element.

See syntax in Size Units.

ยงExample

fn app() -> Element {
    rsx!(
        rect {
            background: "red",
            width: "15",
            height: "50",
        }
    )
}