Merge pull request #15308 from newswim/patch-1

Add 'code' to list of Typography props
This commit is contained in:
偏右 2019-03-10 14:38:25 +08:00 committed by GitHub
commit 369a3cdd60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 |