File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -313,7 +313,7 @@ module.exports = {
313313 }
314314</style >
315315
316- ## Import Code Snippets <Badge text =" beta " type =" warn " />
316+ ## Import Code Snippets <Badge text =" beta " type =" warning " />
317317
318318You can import code snippets from existing files via following syntax:
319319
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
254254- [ Writing a theme > Content Outlet] ( ../theme/writing-a-theme.md#content-outlet )
255255
256256
257- ### Badge <Badge text =" beta " type =" warn " /> <Badge text =" default theme " />
257+ ### Badge <Badge text =" beta " type =" warning " /> <Badge text =" default theme " />
258258
259259- ** Props** :
260260
261261 - ` text ` - string
262- - ` type ` - string, optional value: ` "tip"|"warn "|"error" ` , defaults to ` "tip" ` .
262+ - ` type ` - string, optional value: ` "tip"|"warning "|"error" ` , defaults to ` "tip" ` .
263263 - ` vertical ` - string, optional value: ` "top"|"middle" ` , defaults to ` "top" ` .
264264
265265- ** Usage** :
266266
267267You can use this component in header to add some status for some API:
268268
269269``` md
270- ### Badge <Badge text="beta" type="warn "/> <Badge text="default theme"/>
270+ ### Badge <Badge text="beta" type="warning "/> <Badge text="default theme"/>
271271```
272272
273273** 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 " />
22
33## Motivation
44
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ module.exports = {
314314 }
315315</style >
316316
317- ## 导入代码段 <Badge text =" beta " type =" warn " />
317+ ## 导入代码段 <Badge text =" beta " type =" warning " />
318318
319319你可以通过下述的语法导入已经存在的文件中的代码段:
320320
Original file line number Diff line number Diff line change @@ -252,20 +252,20 @@ export default {
252252- [ 开发主题 > 获取渲染内容] ( ../theme/writing-a-theme.md#获取渲染内容 )
253253
254254
255- ### Badge <Badge text =" beta " type =" warn " /> <Badge text =" 默认主题 " />
255+ ### Badge <Badge text =" beta " type =" warning " /> <Badge text =" 默认主题 " />
256256
257257- ** Props** :
258258
259259 - ` text ` - string
260- - ` type ` - string, 可选值: ` "tip"|"warn "|"error" ` ,默认值是: ` "tip" `
260+ - ` type ` - string, 可选值: ` "tip"|"warning "|"error" ` ,默认值是: ` "tip" `
261261 - ` vertical ` - string, 可选值: ` "top"|"middle" ` ,默认值是: ` "top" `
262262
263263- ** Usage** :
264264
265265你可以在标题中,使用这个组件来为某些 API 添加一些状态:
266266
267267``` md
268- ### Badge <Badge text="beta" type="warn "/> <Badge text="默认主题"/>
268+ ### Badge <Badge text="beta" type="warning "/> <Badge text="默认主题"/>
269269```
270270
271271** 参考:**
Original file line number Diff line number Diff line change 1- # 主题的继承 <Badge type =" warn " text =" beta " />
1+ # 主题的继承 <Badge type =" warning " text =" beta " />
22
33## 动机
44
You can’t perform that action at this time.
0 commit comments