mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
docs(examples): fix color mode code-block
This commit is contained in:
@@ -20,7 +20,7 @@ You can easily build a color mode button by using the `useColorMode` composable
|
|||||||
:color-mode-button
|
:color-mode-button
|
||||||
|
|
||||||
#code
|
#code
|
||||||
```vue [components/ColorModeButton.vue]
|
```vue
|
||||||
<script setup>
|
<script setup>
|
||||||
const colorMode = useColorMode()
|
const colorMode = useColorMode()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user