Skip to main content

row

Macro row 

Source
macro_rules! row {
    ($($child:expr),* $(,)?) => { ... };
}
Expand description

Create a horizontal row layout (flex-direction: row)

ยงExample

use rnk::{row, components::Text};

let element = row! {
    Text::new("Left").into_element(),
    Text::new("Right").into_element(),
};