summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/widget/text.rs')
-rw-r--r--graphics/src/widget/text.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/src/widget/text.rs b/graphics/src/widget/text.rs
new file mode 100644
index 00000000..ec0349f9
--- /dev/null
+++ b/graphics/src/widget/text.rs
@@ -0,0 +1,7 @@
+//! Write some text for your users to read.
+use crate::Renderer;
+
+/// A paragraph of text.
+///
+/// This is an alias of an `iced_native` text with an `iced_wgpu::Renderer`.
+pub type Text<Backend> = iced_native::Text<Renderer<Backend>>;