mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-22 16:49:22 -05:00
fixed example
This commit is contained in:
parent
e31709ba84
commit
d28beb1b5e
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "leptos-use"
|
||||
version = "0.7.0-beta"
|
||||
version = "0.7.0-rc"
|
||||
edition = "2021"
|
||||
authors = ["Marc-Stefan Cassola"]
|
||||
categories = ["gui", "web-programming"]
|
||||
|
|
|
@ -90,4 +90,4 @@ To scaffold a new function quickly you can run `template/createfn.sh`. It requir
|
|||
|---------------|---------------------------|
|
||||
| <= 0.3 | 0.3 |
|
||||
| 0.4, 0.5, 0.6 | 0.4 |
|
||||
| main | 0.5.0-alpha/beta |
|
||||
| main | 0.5.0-alpha/beta/rc |
|
||||
|
|
|
@ -5,7 +5,7 @@ use leptos_use::signal_debounced;
|
|||
#[component]
|
||||
fn Demo() -> impl IntoView {
|
||||
let (input, set_input) = create_signal("".to_string());
|
||||
let debounced = signal_debounced(input, 1000.0);
|
||||
let debounced: Signal<String> = signal_debounced(input, 1000.0);
|
||||
|
||||
view! {
|
||||
<div>
|
||||
|
|
Loading…
Add table
Reference in a new issue