Constant freya_elements::elements::paragraph::height

source ·
pub const height: AttributeDescription;
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",
        }
    )
}