SlotProps
Defined in: react/markput/src/types.ts:144
Props merged onto the components the editor paints itself. EXTENDS the core contract, so a key core learns to read is a key this type declares.
Not the same key set as Slots, and the names say why: slots.paragraph is consulted only
for a row with NO kind, while slotProps.row reaches every row.
Extends
Section titled “Extends”CoreSlotProps
Properties
Section titled “Properties”container?
Section titled “container?”optional container: Record<string, unknown> & object & DataAttributes;Defined in: react/markput/src/types.ts:145
Type Declaration
Section titled “Type Declaration”className?
Section titled “className?”optional className: string;style?
Section titled “style?”optional style: CSSProperties;Overrides
Section titled “Overrides”CoreSlotProps.containeroptional row: Record<string, unknown> & object & DataAttributes;Defined in: react/markput/src/types.ts:147
Merged onto EVERY row’s wrapper — kind or paragraph alike, unlike slots.paragraph.
Type Declaration
Section titled “Type Declaration”className?
Section titled “className?”optional className: string;style?
Section titled “style?”optional style: CSSProperties;Overrides
Section titled “Overrides”CoreSlotProps.row