Skip to content

Commit 27ae718

Browse files
committed
Address some of the feedback
1 parent c77df2a commit 27ae718

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs-v2/pages/connect/components.mdx

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,17 @@ attributes that the API itself consumes.
197197

198198
</Callout>
199199

200-
Subsequent prop configuration calls will be identical to the one above, but will
201-
incrementally add more props to the `configured_props` object, with the name of
202-
the prop being configured as the value for the `prop_name` attribute. For
203-
example, to retrieve the configuration options for the `refName` prop:
200+
You configure props one-by-one, making a call to the component configuration API
201+
for each new prop. Subsequent prop configuration calls will be identical to the
202+
one above:
203+
204+
1. Add the prop you currently want to configure as the `prop_name`
205+
2. Include the names and values of all previously-configured props in the
206+
`configured_props` object. Keep this object in your app's local state, add a
207+
prop once you or the end user selects a value, and pass it to the
208+
`configured_props` API param.
209+
210+
For example, to retrieve the configuration options for the `refName` prop:
204211

205212
```json
206213
{

0 commit comments

Comments
 (0)