Skip to content

Commit

Permalink
docs(toast): 修复文档中的函数式例子 (#2960)
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud authored Jan 24, 2025
1 parent 56437f8 commit 95c21a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/packages/configprovider/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ You can override these CSS variables directly in your code, and the styling of t
/* After you add this style, the Primary Button turns green */
:root {
--nutui-color-primary: green;
--nutui-color-primary-stop1: green;
--nutui-color-primary-stop2: green;
}
```

Expand Down
2 changes: 2 additions & 0 deletions src/packages/configprovider/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ NutUI-React 可以通过 [CSS 变量](https://developer.mozilla.org/zh-CN/docs/W
/* 添加这段样式后,Primary Button 会变成绿色 */
:root {
--nutui-color-primary: green;
--nutui-color-primary-stop1: green;
--nutui-color-primary-stop2: green;
}
```

Expand Down
2 changes: 2 additions & 0 deletions src/packages/configprovider/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ NutUI-React 可以通过 [CSS 变量](https://developer.mozilla.org/zh-CN/docs/W
/* 添加这段样式后,Primary Button 会变成绿色 */
:root {
--nutui-color-primary: green;
--nutui-color-primary-stop1: green;
--nutui-color-primary-stop2: green;
}
```

Expand Down
2 changes: 2 additions & 0 deletions src/packages/configprovider/doc.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ NutUI-React 可以通過 \[CSS 變數\](<https://developer.mozilla.org/zh-CN/d
/* 添加這段樣式后,Primary Button 會變成綠色 */
:root {
--nutui-color-primary: green;
--nutui-color-primary-stop1: green;
--nutui-color-primary-stop2: green;
}
```

Expand Down

0 comments on commit 95c21a7

Please sign in to comment.