diff --git a/src/input/mod.rs b/src/input/mod.rs index 0ef1230..39c1b5c 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1,20 +1,17 @@ -mod group; -mod props; -mod textarea; - -pub use self::props::Props; -pub use self::{group::InputGroup, textarea::TextArea}; +pub use self::{group::InputGroup, props::Props, textarea::TextArea}; use crate::{prelude::*, render}; -use std::fmt::{Display, Formatter, Result as FmtResult}; use std::{ borrow::Cow, fmt::{Display, Formatter, Result as FmtResult}, }; #[cfg(feature = "validate")] use validator::ValidationErrors; -use yew::prelude::*; use yew::{html::IntoOptPropValue, prelude::*}; +mod group; +mod props; +mod textarea; + #[derive(Clone, PartialEq)] pub enum InputType { Text,