pub mod use_locale {
use ::leptos_use_locale::*;
use leptos::prelude::*;
use unic_langid::LanguageIdentifier;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_locale::use_locale`](https://docs.rs/leptos-use-locale/latest/leptos_use_locale/fn.use_locale.html).\n\n Add the `leptos-use-locale` crate to your dependencies and use `leptos_use_locale::use_locale` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-locale` to your dependencies and use `leptos_use_locale::use_locale` instead."
)]
#[inline(always)]
pub fn use_locale<S>(supported: S) -> Signal<LanguageIdentifier>
where
S: IntoIterator,
S::Item: AsRef<LanguageIdentifier>,
{
::leptos_use_locale::use_locale::<S>(supported)
}
#[doc = " Deprecated forwarding wrapper of [`leptos_use_locale::use_locale_with_options`](https://docs.rs/leptos-use-locale/latest/leptos_use_locale/fn.use_locale_with_options.html).\n\n Add the `leptos-use-locale` crate to your dependencies and use `leptos_use_locale::use_locale_with_options` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-locale` to your dependencies and use `leptos_use_locale::use_locale_with_options` instead."
)]
#[inline(always)]
pub fn use_locale_with_options<S>(
supported: S,
options: UseLocaleOptions,
) -> Signal<LanguageIdentifier>
where
S: IntoIterator,
S::Item: AsRef<LanguageIdentifier>,
{
::leptos_use_locale::use_locale_with_options::<S>(supported, options)
}
}