1
0
Fork 0

feat(markdown): Updated grainline macro docs with new text prop

This commit is contained in:
Joost De Cock 2022-01-18 09:20:28 +01:00
parent 5ccb8379d8
commit 384ad52518

View file

@ -14,8 +14,10 @@ macro("grainline", {
}
```
| Property | Default | Type | Description |
|------------:|---------|---------------------|-------------|
| `from` | | [Point](/reference/api/point) | The startpoint of the *grainline* indicator |
| `to` | | [Point](/reference/api/point) | The endpoint of the *grainline* indicator |
| Property | Default | Type | Description |
|------------:|-------------|------------|----------------------------------------------|
| `from` | | [Point][1] | The startpoint of the *grainline* indicator |
| `to` | | [Point][1] | The endpoint of the *grainline* indicator |
| `text` | 'grainline' | string | The text to put on the *grainline* indicator |
[1]: /reference/api/point