mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-20 16:03:32 +08:00
Merge pull request #15308 from newswim/patch-1
Add 'code' to list of Typography props
This commit is contained in:
commit
369a3cdd60
@ -21,6 +21,7 @@ When need to display title or text content. Like:
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| -------- | ----------- | ---- | ------- |
|
||||
| code | code style | boolean | false |
|
||||
| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false |
|
||||
| delete | delete line style | boolean | false |
|
||||
| disabled | Disable content | boolean | false |
|
||||
@ -36,6 +37,7 @@ When need to display title or text content. Like:
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| -------- | ----------- | ---- | ------- |
|
||||
| code | code style | boolean | false |
|
||||
| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false |
|
||||
| delete | delete line style | boolean | false |
|
||||
| disabled | Disable content | boolean | false |
|
||||
@ -51,6 +53,7 @@ When need to display title or text content. Like:
|
||||
|
||||
| Property | Description | Type | Default |
|
||||
| -------- | ----------- | ---- | ------- |
|
||||
| code | code style | boolean | false |
|
||||
| copyable | Config copy. Can set copy text and callback when is an object | boolean \| { text: string, onCopy: Function } | false |
|
||||
| delete | delete line style | boolean | false |
|
||||
| disabled | Disable content | boolean | false |
|
||||
|
Loading…
Reference in New Issue
Block a user