feat(widget): initial implementation of Grid widget
This commit is contained in:
parent
9ddadd330f
commit
e1d1b0bad5
5 changed files with 509 additions and 0 deletions
12
src/widget/grid/mod.rs
Normal file
12
src/widget/grid/mod.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Copyright 2023 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
pub mod layout;
|
||||
pub mod widget;
|
||||
|
||||
pub use widget::{Grid, Item};
|
||||
|
||||
/// Responsively generates rows and columns of widgets based on its dimmensions.
|
||||
pub const fn grid<'a, Message>() -> Grid<'a, Message> {
|
||||
Grid::new()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue