File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -204,11 +204,12 @@ That's it! You should have light/dark theme toggle in your Next.js application.
204204
205205You can pass the following props to ` ThemeProvider` :
206206
207- | Prop | Type | Description |
208- |--------------|:--------------------------------------------:|:------------------------------------------------------------:|
209- | ` children` | ` React .ReactChild ` |` React .ReactChild []` | Components to which the theme is passed down to via context. |
210- | ` storageKey` | String | Name of the key used for storage. |
211- | ` theme` | String | Starting theme; can be ` ' light' ` or ` ' dark' ` . |
207+ | Prop | Type | Description |
208+ |-------------------|:--------------------------------------------:|:------------------------------------------------------------:|
209+ | ` children` | ` React .ReactChild ` |` React .ReactChild []` | Components to which the theme is passed down to via context. |
210+ | ` storageKey` | String | Name of the key used for storage. |
211+ | ` theme` | String | Starting theme; can be ` ' light' ` or ` ' dark' ` . |
212+ | ` autoAntiFlicker` | Boolean | If ` true ` , injects an inline anti-flicker script to DOM. |
212213
213214### ` useTheme ()`
214215
You can’t perform that action at this time.
0 commit comments