mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
docs: Update Card and Mention doc (#14247)
This commit is contained in:
parent
929418fa25
commit
974e48090d
@ -21,7 +21,7 @@ A card can be used to display content related to a single subject. The content c
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| -------- | ----------- | ---- | ------- |
|
||||
| actions | The action list, shows at the bottom of the Card. | Array<ReactNode> | - |
|
||||
| actions | The action list, shows at the bottom of the Card. | Array<ReactNode> | - |
|
||||
| activeTabKey | Current TabPane's key | string | - |
|
||||
| headStyle | Inline style to apply to the card head | object | - |
|
||||
| bodyStyle | Inline style to apply to the card content | object | - |
|
||||
|
@ -22,7 +22,7 @@ cols: 1
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --- | --- | --- | --- |
|
||||
| actions | 卡片操作组,位置在卡片底部 | Array<ReactNode> | - |
|
||||
| actions | 卡片操作组,位置在卡片底部 | Array<ReactNode> | - |
|
||||
| activeTabKey | 当前激活页签的 key | string | - |
|
||||
| headStyle | 自定义标题区域样式 | object | - |
|
||||
| bodyStyle | 内容区域自定义样式 | object | - |
|
||||
|
@ -41,7 +41,7 @@ When need to mention someone or something.
|
||||
| notFoundContent | suggestion when suggestions empty | string | '无匹配结果,轻敲空格完成输入' |
|
||||
| placeholder | placeholder of input | string | null |
|
||||
| placement | The position of the suggestion relative to the target, which can be one of `top` and `bottom` | string | 'bottom'. |
|
||||
| prefix | character which will trigger Mention to show mention list | string or Array<string> | '@' |
|
||||
| prefix | character which will trigger Mention to show mention list | string or Array<string> | '@' |
|
||||
| readOnly | Tell if the input is readonly. | boolean | false |
|
||||
| suggestions | suggestion content | Array<string\|Mention.Nav> | \[] |
|
||||
| suggestionStyle | style of suggestion container | object | {} |
|
||||
|
@ -42,7 +42,7 @@ title: Mention
|
||||
| notFoundContent | 未找到时的内容 | string | '无匹配结果,轻敲空格完成输入' |
|
||||
| placeholder | 输入框默认文字 | string | null |
|
||||
| placement | 建议框位置,可选 `top` `bottom` | string | 'bottom' |
|
||||
| prefix | 触发弹出下拉框的字符 | string or Array<string> | '@' |
|
||||
| prefix | 触发弹出下拉框的字符 | string or Array<string> | '@' |
|
||||
| readOnly | 是否只读. | boolean | false |
|
||||
| suggestions | 建议内容 | Array<string\|Mention.Nav> | \[] |
|
||||
| suggestionStyle | 弹出下拉框样式 | object | {} |
|
||||
|
Loading…
Reference in New Issue
Block a user