docs(container): [container] optimize docs and demos (#1333)

This commit is contained in:
李天佑 2024-01-23 23:56:13 -08:00 committed by GitHub
parent 8e87781f46
commit 6160d9ebec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 1 deletions

View File

@ -44,7 +44,8 @@ export default {
'props': [
{
'name': 'pattern',
'type': `'default' | 'simple' | 'legend' | 'classic' | 'fashion'`,
'type': 'IContainerPattern',
'typeAnchorName': 'IContainerPattern',
'defaultValue': '"default"',
'desc': {
'zh-CN': '版型类型',
@ -106,5 +107,12 @@ export default {
}
]
}
],
types: [
{
name: 'IContainerPattern',
type: 'interface',
code: `type IContainerPattern = 'default' | 'simple' | 'legend' | 'classic' | 'fashion'`
}
]
}