Store editor
Service delivery section
How a service is delivered — sessions, turnaround, submission and deliverable method.
Available
Needs mock props
Examples
Rendered live from the maintained Storybook story. Lantern stores only the story id and embeds Storybook rather than duplicating the component or its demo.
Service delivery section
Rendered live from Storybook
Storybook must be running for this to load — bun run start:storybook from the monorepo root, or set NEXT_PUBLIC_STORYBOOK_URL to a deployed instance.
Props
The component's public API, read from its TypeScript source. Descriptions come from TSDoc on the prop, so this table cannot drift from the component.
| Prop | Type | Default | Description |
|---|---|---|---|
form* | ProductFormState | — | Undocumented — add TSDoc to the prop in the library. |
onFormChange* | (updates: Partial<ProductFormState>) => void | — | Undocumented — add TSDoc to the prop in the library. |
resetOnDeliveryTypeChange | boolean | true | Whether switching delivery type wipes the branch fields back to `SERVICE_DELIVERY_DEFAULTS`. On by default, matching the app. Turn it off to demonstrate the raw switch without the reset. |
defaultOpenControl | ServiceDeliveryOpenControl | — | Opens one of the dropdowns on mount so each menu is a static story rather than a click path. Not used by the app. |
className | string | — | Undocumented — add TSDoc to the prop in the library. |
Reference
Transcribed from the component audit. If this disagrees with the source, the source is right.
- Source
src/components/store/editor/sections/ServiceDeliverySection.tsx- Portability
- Needs its app dependencies replaced by props before it renders in isolation.