You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -89,7 +90,7 @@ The `useColorMode` hook returns an array with two values: the current color mode
89
90
The color mode state can be any string and should match the name of a color mode defined in `theme.colors.modes` or be a name for the default color mode.
90
91
91
92
```js
92
-
const [colorMode, setColorMode] =useColorMode()
93
+
const [colorMode, setColorMode] =useColorMode()
93
94
```
94
95
95
96
### `Styled`
@@ -105,21 +106,21 @@ These are primarily meant to be used as a mechanism to use styles defined in a `
105
106
106
107
The `Styled` components include the same props as components created with [`@emotion/styled`](https://emotion.sh/docs/styled).
107
108
108
-
Prop | Type | Description
109
-
---|---|---
110
-
`as` | String or Component | Changes the underlying rendered element
0 commit comments