summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/text_input.rs
blob: 87384d7e09b1f681287aafb5ac36c9493426771f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Display fields that can be filled with text.
//!
//! A [`TextInput`] has some local [`State`].
use crate::Renderer;

pub use iced_native::widget::text_input::State;
pub use iced_style::text_input::{Style, StyleSheet};

/// A field that can be filled with text.
///
/// This is an alias of an `iced_native` text input with an `iced_wgpu::Renderer`.
pub type TextInput<'a, Message, Backend> =
    iced_native::widget::TextInput<'a, Message, Renderer<Backend>>;