Merge pull request #1574 from wvbe/master

docs: Fix property name accuracy in describing paragraph borders
This commit is contained in:
Dolan
2022-07-06 16:34:30 +01:00
committed by GitHub

View File

@ -121,7 +121,7 @@ Add borders to a `Paragraph`. Good for making the `Paragraph` stand out
| -------- | -------- | -------- | | -------- | -------- | -------- |
| color | `string` | Required | | color | `string` | Required |
| space | `number` | Required | | space | `number` | Required |
| value | `string` | Required | | style | `string` | Required |
| size | `number` | Required | | size | `number` | Required |
**Example:** **Example:**
@ -135,13 +135,13 @@ const paragraph = new Paragraph({
top: { top: {
color: "auto", color: "auto",
space: 1, space: 1,
value: "single", style: "single",
size: 6, size: 6,
}, },
bottom: { bottom: {
color: "auto", color: "auto",
space: 1, space: 1,
value: "single", style: "single",
size: 6, size: 6,
}, },
}, },