mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
Expose generalised use of use_storage_with_options
This commit is contained in:
parent
fdb9f672d1
commit
7bfd069047
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ where
|
|||
}
|
||||
|
||||
/// Hook for using any kind of storage. Returns a result of a signal and a setter / deleter.
|
||||
fn use_storage_with_options<T, C>(
|
||||
pub fn use_storage_with_options<T, C>(
|
||||
storage_type: StorageType,
|
||||
key: impl AsRef<str>,
|
||||
options: UseStorageOptions<T, C>,
|
||||
|
|
Loading…
Add table
Reference in a new issue