Files
coder/site
Andrew Aquino 612b6d4e95 refactor(site): make optionalFields a prop of ModuleConfiguration instead of children (#26681)
ref: DEVEX-532

During #26627, I think we should've given `ModuleConfiguration` an
`optionalFields` prop in the first place--our one and only usage of
`ModuleConfiguration` doesn't render optional fields in a way that makes
sense as children. Also, `ModuleConfiguration` should be the component
responsible for rendering the collapsible section, not
`ModuleSettingsStep`

This makes Storybook more accurately represent what module config looks
like, since ModuleConfiguration.stories.tsx now shows the optional field
in a collapsible section:

<img width="1840" height="1191" alt="image"
src="https://github.com/user-attachments/assets/2b385ea7-a060-409a-8e84-aa37f0b09c2c"
/>
2026-06-24 14:00:28 -07:00
..
…
2026-06-16 14:43:54 -06:00
2026-06-16 14:43:54 -06:00
…
…
…
2026-06-16 14:43:54 -06:00
2026-06-16 14:43:54 -06:00
2026-06-16 14:43:54 -06:00