File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ module.exports = {
313
313
}
314
314
</style >
315
315
316
- ## Import Code Snippets <Badge text =" beta " type =" warn " />
316
+ ## Import Code Snippets <Badge text =" beta " type =" warning " />
317
317
318
318
You can import code snippets from existing files via following syntax:
319
319
Original file line number Diff line number Diff line change @@ -254,20 +254,20 @@ Specify a specific slot for a specific page (.md) for rendering. This will be us
254
254
- [ Writing a theme > Content Outlet] ( ../theme/writing-a-theme.md#content-outlet )
255
255
256
256
257
- ### Badge <Badge text =" beta " type =" warn " /> <Badge text =" default theme " />
257
+ ### Badge <Badge text =" beta " type =" warning " /> <Badge text =" default theme " />
258
258
259
259
- ** Props** :
260
260
261
261
- ` text ` - string
262
- - ` type ` - string, optional value: ` "tip"|"warn "|"error" ` , defaults to ` "tip" ` .
262
+ - ` type ` - string, optional value: ` "tip"|"warning "|"error" ` , defaults to ` "tip" ` .
263
263
- ` vertical ` - string, optional value: ` "top"|"middle" ` , defaults to ` "top" ` .
264
264
265
265
- ** Usage** :
266
266
267
267
You can use this component in header to add some status for some API:
268
268
269
269
``` md
270
- ### Badge <Badge text="beta" type="warn "/> <Badge text="default theme"/>
270
+ ### Badge <Badge text="beta" type="warning "/> <Badge text="default theme"/>
271
271
```
272
272
273
273
** Also see:**
Original file line number Diff line number Diff line change 1
- # Theme Inheritance <Badge type =" warn " text =" beta " />
1
+ # Theme Inheritance <Badge type =" warning " text =" beta " />
2
2
3
3
## Motivation
4
4
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ module.exports = {
314
314
}
315
315
</style >
316
316
317
- ## 导入代码段 <Badge text =" beta " type =" warn " />
317
+ ## 导入代码段 <Badge text =" beta " type =" warning " />
318
318
319
319
你可以通过下述的语法导入已经存在的文件中的代码段:
320
320
Original file line number Diff line number Diff line change @@ -252,20 +252,20 @@ export default {
252
252
- [ 开发主题 > 获取渲染内容] ( ../theme/writing-a-theme.md#获取渲染内容 )
253
253
254
254
255
- ### Badge <Badge text =" beta " type =" warn " /> <Badge text =" 默认主题 " />
255
+ ### Badge <Badge text =" beta " type =" warning " /> <Badge text =" 默认主题 " />
256
256
257
257
- ** Props** :
258
258
259
259
- ` text ` - string
260
- - ` type ` - string, 可选值: ` "tip"|"warn "|"error" ` ,默认值是: ` "tip" `
260
+ - ` type ` - string, 可选值: ` "tip"|"warning "|"error" ` ,默认值是: ` "tip" `
261
261
- ` vertical ` - string, 可选值: ` "top"|"middle" ` ,默认值是: ` "top" `
262
262
263
263
- ** Usage** :
264
264
265
265
你可以在标题中,使用这个组件来为某些 API 添加一些状态:
266
266
267
267
``` md
268
- ### Badge <Badge text="beta" type="warn "/> <Badge text="默认主题"/>
268
+ ### Badge <Badge text="beta" type="warning "/> <Badge text="默认主题"/>
269
269
```
270
270
271
271
** 参考:**
Original file line number Diff line number Diff line change 1
- # 主题的继承 <Badge type =" warn " text =" beta " />
1
+ # 主题的继承 <Badge type =" warning " text =" beta " />
2
2
3
3
## 动机
4
4
You can’t perform that action at this time.
0 commit comments