Skip to content

Commit ca398be

Browse files
Update src/content/reference/react/createContext.md
1 parent 3cf5fdf commit ca398be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/createContext.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const ThemeContext = createContext('light');
3232

3333
#### 参数 {/*parameters*/}
3434

35-
* `defaultValue`:当包裹需要读取上下文的组件树中没有匹配的上下文时,你可以用该值作上下文的。倘若你没有任何有意义的默认值,可指定其为 `null`。该默认值是用于作为”最后的手段“的后备方案。它是静态的,永远不会随时间改变。
35+
* `defaultValue`:当包裹需要读取上下文的组件树中没有匹配的上下文时,你可以用该值作上下文的。倘若你没有任何有意义的默认值,可指定其为 `null`。该默认值是用于作为“最后的手段”的后备方案。它是静态的,永远不会随时间改变。
3636

3737
#### 返回值 {/*returns*/}
3838

0 commit comments

Comments
 (0)