feat(widget): add text function with Cow<str> input

This commit is contained in:
Michael Aaron Murphy 2023-01-23 22:48:06 +01:00 committed by Michael Murphy
parent f81a06bc4a
commit b3a3c9c29a
6 changed files with 37 additions and 14 deletions

View file

@ -6,12 +6,12 @@ use std::borrow::Cow;
pub use self::model::{Message, Model};
use crate::widget::icon;
use crate::widget::{icon, text};
use crate::{theme, Element};
use apply::Apply;
use iced::{
alignment::{Horizontal, Vertical},
widget::{button, container, row, text},
widget::{button, container, row},
Alignment, Background, Length,
};