-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffc5f08
commit f9294af
Showing
2 changed files
with
105 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
export const markdownRenderConfig = { | ||
props: [ | ||
{ | ||
type: 'Name', | ||
zh: '参数', | ||
en: 'Name' | ||
}, | ||
{ | ||
type: 'Description', | ||
zh: '说明', | ||
en: 'Description' | ||
}, | ||
{ | ||
type: 'Type', | ||
zh: '类型', | ||
en: 'Type' | ||
}, | ||
{ | ||
type: 'Optional', | ||
zh: '可选值', | ||
en: 'Optional' | ||
}, | ||
{ | ||
type: 'Default', | ||
zh: '默认值', | ||
en: 'Default' | ||
} | ||
], | ||
slots: [ | ||
{ | ||
type: 'Name', | ||
zh: '插槽名', | ||
en: 'Name' | ||
}, | ||
{ | ||
type: 'Description', | ||
zh: '说明', | ||
en: 'Description' | ||
} | ||
], | ||
methods: [ | ||
{ | ||
type: 'Name', | ||
zh: '组件实例方法', | ||
en: 'Method Name' | ||
}, | ||
{ | ||
type: 'Description', | ||
zh: '说明', | ||
en: 'Description' | ||
}, | ||
{ | ||
type: 'Parameters', | ||
zh: '参数', | ||
en: 'Parameters' | ||
}, | ||
{ | ||
type: 'Return', | ||
zh: '返回值', | ||
en: 'Return' | ||
} | ||
], | ||
events: [ | ||
{ | ||
type: 'Name', | ||
zh: '事件名', | ||
en: 'Method Name' | ||
}, | ||
{ | ||
type: 'Description', | ||
zh: '说明', | ||
en: 'Description' | ||
}, | ||
{ | ||
type: 'Parameters', | ||
zh: '参数', | ||
en: 'Parameters' | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters