leptos-use 0.20.0

Collection of essential Leptos utilities inspired by React-Use / VueUse
Documentation
//! Generated by the micro crate split: deprecated forwarding wrappers.

pub mod use_preferred_dark {
    use ::leptos_use_preferences::*;

    use leptos::prelude::*;

    #[doc = " Deprecated forwarding wrapper of [`leptos_use_preferences::use_preferred_dark`](https://docs.rs/leptos-use-preferences/latest/leptos_use_preferences/fn.use_preferred_dark.html).\n\n Add the `leptos-use-preferences` crate to your dependencies and use `leptos_use_preferences::use_preferred_dark` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-preferences` to your dependencies and use `leptos_use_preferences::use_preferred_dark` instead."
    )]
    #[inline(always)]
    pub fn use_preferred_dark() -> Signal<bool> {
        ::leptos_use_preferences::use_preferred_dark()
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_preferences::use_preferred_dark_with_options`](https://docs.rs/leptos-use-preferences/latest/leptos_use_preferences/fn.use_preferred_dark_with_options.html).\n\n Add the `leptos-use-preferences` crate to your dependencies and use `leptos_use_preferences::use_preferred_dark_with_options` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-preferences` to your dependencies and use `leptos_use_preferences::use_preferred_dark_with_options` instead."
    )]
    #[inline(always)]
    pub fn use_preferred_dark_with_options(options: UsePreferredDarkOptions) -> Signal<bool> {
        ::leptos_use_preferences::use_preferred_dark_with_options(options)
    }
}

pub mod use_preferred_contrast {
    use ::leptos_use_preferences::*;
    use leptos::reactive::wrappers::read::Signal;
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_preferences::use_preferred_contrast`](https://docs.rs/leptos-use-preferences/latest/leptos_use_preferences/fn.use_preferred_contrast.html).\n\n Add the `leptos-use-preferences` crate to your dependencies and use `leptos_use_preferences::use_preferred_contrast` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-preferences` to your dependencies and use `leptos_use_preferences::use_preferred_contrast` instead."
    )]
    #[inline(always)]
    pub fn use_preferred_contrast() -> Signal<PreferredContrast> {
        ::leptos_use_preferences::use_preferred_contrast()
    }
}

pub mod use_prefers_reduced_motion {
    use ::leptos_use_preferences::*;

    use leptos::prelude::*;

    #[doc = " Deprecated forwarding wrapper of [`leptos_use_preferences::use_prefers_reduced_motion`](https://docs.rs/leptos-use-preferences/latest/leptos_use_preferences/fn.use_prefers_reduced_motion.html).\n\n Add the `leptos-use-preferences` crate to your dependencies and use `leptos_use_preferences::use_prefers_reduced_motion` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-preferences` to your dependencies and use `leptos_use_preferences::use_prefers_reduced_motion` instead."
    )]
    #[inline(always)]
    pub fn use_prefers_reduced_motion() -> Signal<bool> {
        ::leptos_use_preferences::use_prefers_reduced_motion()
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_preferences::use_prefers_reduced_motion_with_options`](https://docs.rs/leptos-use-preferences/latest/leptos_use_preferences/fn.use_prefers_reduced_motion_with_options.html).\n\n Add the `leptos-use-preferences` crate to your dependencies and use `leptos_use_preferences::use_prefers_reduced_motion_with_options` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-preferences` to your dependencies and use `leptos_use_preferences::use_prefers_reduced_motion_with_options` instead."
    )]
    #[inline(always)]
    pub fn use_prefers_reduced_motion_with_options(
        options: UsePrefersReducedMotionOptions,
    ) -> Signal<bool> {
        ::leptos_use_preferences::use_prefers_reduced_motion_with_options(options)
    }
}