chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus setup. It's part of my efforts to simplify FreeSewing's setup so we can focus on our core value proposition.
This commit is contained in:
parent
497633d1d3
commit
ab3204f9f1
692 changed files with 11037 additions and 20674 deletions
26
sites/dev/docs/reference/api/stack/asrenderprops/readme.mdx
Normal file
26
sites/dev/docs/reference/api/stack/asrenderprops/readme.mdx
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
title: Stack.asRenderProps()
|
||||
---
|
||||
|
||||
The `Stack.asRenderProps()` method returns a stack object suitable for renderprops.
|
||||
|
||||
|
||||
## Stack.asProps() signature
|
||||
|
||||
```js
|
||||
Object stack.asProps()
|
||||
```
|
||||
|
||||
## Stack.asProps() returned object
|
||||
|
||||
The `Stack.asProps()` method returns an object with the following properties:
|
||||
|
||||
| Property | Description |
|
||||
| --------:| ----------- |
|
||||
| `attributes` | An `Attributes` instance holding the stack's attributes |
|
||||
| `bottomRight` | A `Point` that is the bottom right of the stack's bounding box |
|
||||
| `height` | Height of the bounding box of the stack in `mm` |
|
||||
| `name` | The name of the stack |
|
||||
| `parts` | An `Array` of the `Part`s in the stack |
|
||||
| `topLeft` | A `Point` that is the top left of the stack's bounding box |
|
||||
| `width` | Width of the bounding box of the stack in `mm` |
|
Loading…
Add table
Add a link
Reference in a new issue