Merge pull request #126 from mscofield0/main

Make `use_derive_signal!` public
This commit is contained in:
Marc-Stefan Cassola 2024-07-08 17:02:33 +01:00 committed by GitHub
commit c20d78c2ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 6 additions and 13 deletions

View file

@ -1,7 +1,6 @@
use crate::utils::use_derive_signal;
use leptos::*; use leptos::*;
use_derive_signal!( crate::use_derive_signal!(
/// Reactive `Result::is_err()`. /// Reactive `Result::is_err()`.
/// ///
/// ## Usage /// ## Usage

View file

@ -1,7 +1,6 @@
use crate::utils::use_derive_signal;
use leptos::*; use leptos::*;
use_derive_signal!( crate::use_derive_signal!(
/// Reactive `Option::is_none()`. /// Reactive `Option::is_none()`.
/// ///
/// ## Usage /// ## Usage

View file

@ -1,7 +1,6 @@
use crate::utils::use_derive_signal;
use leptos::*; use leptos::*;
use_derive_signal!( crate::use_derive_signal!(
/// Reactive `Result::is_ok()`. /// Reactive `Result::is_ok()`.
/// ///
/// ## Usage /// ## Usage

View file

@ -1,7 +1,6 @@
use crate::utils::use_derive_signal;
use leptos::*; use leptos::*;
use_derive_signal!( crate::use_derive_signal!(
/// Reactive `Option::is_some()`. /// Reactive `Option::is_some()`.
/// ///
/// ## Usage /// ## Usage

View file

@ -1,7 +1,6 @@
use crate::utils::use_derive_signal;
use leptos::*; use leptos::*;
use_derive_signal!( crate::use_derive_signal!(
/// Reactive `ToString::to_string()`. /// Reactive `ToString::to_string()`.
/// ///
/// ## Usage /// ## Usage

View file

@ -13,4 +13,3 @@ pub use is::*;
pub(crate) use js_value_from_to_string::*; pub(crate) use js_value_from_to_string::*;
pub use pausable::*; pub use pausable::*;
pub(crate) use signal_filtered::*; pub(crate) use signal_filtered::*;
pub(crate) use use_derive_signal::*;

View file

@ -1,3 +1,4 @@
#[macro_export]
macro_rules! use_derive_signal { macro_rules! use_derive_signal {
( (
$(#[$outer:meta])* $(#[$outer:meta])*
@ -14,5 +15,3 @@ macro_rules! use_derive_signal {
} }
}; };
} }
pub(crate) use use_derive_signal;