This PR extends `Button` with support for an optional icon to be displayed next to the label. As part of this, the functionality for displaying an icon within a button has been factored out into an internal `ButtonIcon` component. `ButtonIcon` is now used by both `IconButton` and `Button` to encapsulate the concerns of an icon that is rendered within a button. Release Notes: - N/A
9 lines
141 B
Rust
9 lines
141 B
Rust
mod button;
|
|
pub(self) mod button_icon;
|
|
mod button_like;
|
|
mod icon_button;
|
|
|
|
pub use button::*;
|
|
pub use button_like::*;
|
|
pub use icon_button::*;
|