feat: create functional dynamo query
This commit is contained in:
1 parent
07ae69c8ae
commit
40f12180e5
10 files changed
+36
-32
No files matched your search
@@ -1,4 +1,4 @@
|
||||
use leptos::prelude::*;
|
||||
use leptos::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn ActionButton(
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
mod action_button;
|
||||
mod action_button;
|
||||
mod text_field;
|
||||
|
||||
pub use self::{
|
||||
action_button::ActionButton,
|
||||
text_field::OutlinedTextField
|
||||
};
|
||||
pub use self::{action_button::ActionButton, text_field::OutlinedTextField};
|
||||
@@ -1,10 +1,10 @@
|
||||
use leptos::prelude::*;
|
||||
use leptos::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn OutlinedTextField(
|
||||
#[prop(default = String::from(""))] placeholder: String,
|
||||
#[prop(default = RwSignal::new("".to_string()))] value: RwSignal<String>,
|
||||
#[prop(default = RwSignal::new(false))] disabled: RwSignal<bool>
|
||||
#[prop(default = RwSignal::new(false))] disabled: RwSignal<bool>,
|
||||
) -> impl IntoView {
|
||||
view! (
|
||||
<input
|
||||
|
||||
Reference in new issue
Block a user