Make use_derive_signal! public

This commit is contained in:
Michael Scofield 2024-07-08 16:09:24 +02:00
parent 4d42f7234a
commit 661a84af24
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;