Implement error handling #41
No files matched your search
@@ -0,0 +1,6 @@
|
||||
mod multi;
|
||||
mod single;
|
||||
|
||||
pub use {
|
||||
multi::*, single::*
|
||||
};
|
||||
@@ -2,8 +2,8 @@ use crate::common::ValueType;
|
||||
use crate::components::utils::create_unique_id;
|
||||
use leptos::prelude::*;
|
||||
use std::collections::HashMap;
|
||||
use super::utils::use_selectable_list;
|
||||
use crate::components::ValidationState;
|
||||
use crate::components::lists::use_selectable_list;
|
||||
|
||||
/// # Checkbox Component
|
||||
/// This component should only be used from within a [`CheckboxList`] component.
|
||||
@@ -81,8 +81,6 @@ pub fn Checkbox(
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// # Checkbox List Component
|
||||
/// This component creates a list of checkboxes, each with a specific value. The values are passed
|
||||
/// through a prop rather than manually creating children.
|
||||
@@ -3,7 +3,7 @@ use crate::components::utils::create_unique_id;
|
||||
use leptos::prelude::*;
|
||||
use std::collections::HashMap;
|
||||
use crate::components::ValidationState;
|
||||
use crate::components::lists::use_selectable_list;
|
||||
use super::utils::use_selectable_list;
|
||||
|
||||
/// # Chip Component
|
||||
///
|
||||
@@ -0,0 +1,6 @@
|
||||
mod utils;
|
||||
mod checkbox;
|
||||
mod chips;
|
||||
|
||||
pub use checkbox::*;
|
||||
pub use chips::*;
|
||||
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
pub mod radio;
|
||||
pub mod select;
|
||||
|
||||
pub use radio::*;
|
||||
pub use select::*;
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,20 +1,17 @@
|
||||
mod action_button;
|
||||
mod banner;
|
||||
mod checkbox;
|
||||
mod chips;
|
||||
mod dashboard_button;
|
||||
mod loading;
|
||||
mod multi_entry;
|
||||
mod panel;
|
||||
mod radio;
|
||||
mod row;
|
||||
mod select;
|
||||
mod text_field;
|
||||
mod utils;
|
||||
mod validated_form;
|
||||
mod lists;
|
||||
|
||||
pub use self::{
|
||||
action_button::*, banner::*, checkbox::*, chips::*, dashboard_button::*, loading::*,
|
||||
multi_entry::*, panel::*, radio::*, row::*, select::*, text_field::*, validated_form::*
|
||||
action_button::*, banner::*, dashboard_button::*, lists::*,
|
||||
loading::*, multi_entry::*, panel::*, row::*, text_field::*,
|
||||
validated_form::*
|
||||
};
|
||||
Reference in new issue
Block a user