mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
docs(v2): minor tweaks (#4981)
This commit is contained in:
parent
bfd33dc63a
commit
d7e4e422a2
14 changed files with 25 additions and 21 deletions
|
@ -142,7 +142,7 @@ website/i18n/<locale>/docusaurus-theme-classic
|
|||
|
||||
### `useThemeContext` {#usethemecontext}
|
||||
|
||||
React hook to access theme context. This context contains functions for setting light and dark mode and boolean property, indicating which mode is currently in use.
|
||||
React hook to access theme context. This context contains functions for setting light and dark mode and exposes boolean variable, indicating which mode is currently in use.
|
||||
|
||||
Usage example:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue