From ce45ecc23546efd85f04a76fcb1a3a691d259129 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 6 Feb 2020 00:28:25 +0100 Subject: Expose missing widget modules in `iced_web` --- web/src/widget/checkbox.rs | 1 + web/src/widget/container.rs | 1 + web/src/widget/radio.rs | 1 + web/src/widget/text_input.rs | 3 +++ 4 files changed, 6 insertions(+) (limited to 'web/src/widget') diff --git a/web/src/widget/checkbox.rs b/web/src/widget/checkbox.rs index d1d30048..7c7b805c 100644 --- a/web/src/widget/checkbox.rs +++ b/web/src/widget/checkbox.rs @@ -1,3 +1,4 @@ +//! Show toggle controls using checkboxes. use crate::{Bus, Color, Css, Element, Widget}; use dodrio::bumpalo; diff --git a/web/src/widget/container.rs b/web/src/widget/container.rs index 55995795..43d9abf7 100644 --- a/web/src/widget/container.rs +++ b/web/src/widget/container.rs @@ -1,3 +1,4 @@ +//! Decorate content and apply alignment. use crate::{bumpalo, css, Align, Bus, Css, Element, Length, Widget}; /// An element decorating some content. diff --git a/web/src/widget/radio.rs b/web/src/widget/radio.rs index 4570639c..e8721cee 100644 --- a/web/src/widget/radio.rs +++ b/web/src/widget/radio.rs @@ -1,3 +1,4 @@ +//! Create choices using radio buttons. use crate::{Bus, Color, Css, Element, Widget}; use dodrio::bumpalo; diff --git a/web/src/widget/text_input.rs b/web/src/widget/text_input.rs index 1fea787a..2b22b93f 100644 --- a/web/src/widget/text_input.rs +++ b/web/src/widget/text_input.rs @@ -5,6 +5,9 @@ //! [`TextInput`]: struct.TextInput.html //! [`State`]: struct.State.html use crate::{bumpalo, css, Bus, Css, Element, Length, Widget}; + +pub use iced_style::text_input::{Style, StyleSheet}; + use std::rc::Rc; /// A field that can be filled with text. -- cgit