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
parent 4b3f6ec9dc
commit fde5a06686
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
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,
};