Clean redundant imports

This commit is contained in:
Thomas Gideon 2021-11-07 12:10:41 -05:00
parent ee3ec17314
commit 164186f766
1 changed files with 5 additions and 8 deletions

View File

@ -1,20 +1,17 @@
mod group; pub use self::{group::InputGroup, props::Props, textarea::TextArea};
mod props;
mod textarea;
pub use self::props::Props;
pub use self::{group::InputGroup, textarea::TextArea};
use crate::{prelude::*, render}; use crate::{prelude::*, render};
use std::fmt::{Display, Formatter, Result as FmtResult};
use std::{ use std::{
borrow::Cow, borrow::Cow,
fmt::{Display, Formatter, Result as FmtResult}, fmt::{Display, Formatter, Result as FmtResult},
}; };
#[cfg(feature = "validate")] #[cfg(feature = "validate")]
use validator::ValidationErrors; use validator::ValidationErrors;
use yew::prelude::*;
use yew::{html::IntoOptPropValue, prelude::*}; use yew::{html::IntoOptPropValue, prelude::*};
mod group;
mod props;
mod textarea;
#[derive(Clone, PartialEq)] #[derive(Clone, PartialEq)]
pub enum InputType { pub enum InputType {
Text, Text,