Content · Components
ContentStatusFields
No summary has been written for ContentStatusFields. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.Public export
typescript
import { ContentStatusFields } from '@happyvertical/smrt-content/svelte';- Import path
@happyvertical/smrt-content/svelte- Props
- 5
- Props described
- 5 of 5
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
dataContentStatusFieldDataYesCurrent status field values.modeContentFieldModeNo`full` (default) shows Type, State, Status and Published; `simple` shows Status and an optional Publish date with plain labels.fieldsreadonly ContentStatusFieldName[]NoExplicit allow-list of fields; overrides the mode's choice.idPrefixstringNoPrefix for field DOM ids, unique per editor on the page (default `content`).onChange(change: Record<string, unknown>) => voidNoInvoked when the user modifies any status field.Bindable state
This component has no bindable public state.
Callback events
onChange(change: Record<string, unknown>) => void