mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
small docs improvement for use_color_mode
This commit is contained in:
parent
72b6f31378
commit
cf86471219
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ use wasm_bindgen::JsCast;
|
|||
///
|
||||
/// ```
|
||||
/// # use leptos::*;
|
||||
/// use leptos_use::{use_color_mode, UseColorModeReturn};
|
||||
/// # use leptos_use::{use_color_mode, UseColorModeReturn};
|
||||
/// #
|
||||
/// # #[component]
|
||||
/// # fn Demo() -> impl IntoView {
|
||||
|
@ -44,7 +44,7 @@ use wasm_bindgen::JsCast;
|
|||
///
|
||||
/// ```
|
||||
/// # use leptos::*;
|
||||
/// use leptos_use::{ColorMode, use_color_mode, UseColorModeReturn};
|
||||
/// # use leptos_use::{ColorMode, use_color_mode, UseColorModeReturn};
|
||||
/// #
|
||||
/// # #[component]
|
||||
/// # fn Demo() -> impl IntoView {
|
||||
|
|
Loading…
Add table
Reference in a new issue