1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2023 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0

//! Responsively generates rows of widgets based on the dimensions of its children.

pub mod layout;
pub mod widget;

pub use widget::FlexRow;

use crate::Element;

/// Responsively generates rows of widgets based on the dimensions of its children.
pub const fn flex_row<Message>(children: Vec<Element<Message>>) -> FlexRow<Message> {
    FlexRow::new(children)
}