1
0
Fork 0

fix(docs): Howtos documentation corrections and updates

This commit is contained in:
Benjamin F 2022-12-22 17:24:59 -08:00
parent 04da277fd2
commit 24f7776840
25 changed files with 46 additions and 43 deletions

View file

@ -2,18 +2,19 @@
title: Accessing options
---
(the value of) Options are available on the `options` key of from the object
Options are available on the `options` key of from the object
passed to your part's draft method. You can destructure them for easy access.
```design/src/part.mjs
function draftPart = ({
function draftPart = ({
// highlight-start
options,
options,
// highlight-end
part
part
}) {
// Do something here
const a = options.fitKnee
const b = options[waistEase]
return part
}