Types: EditableRichTextProps to LazyBlockOptions
The types of @poltura/theme-sdk/elements, EditableRichTextProps to LazyBlockOptions.
On this page
import { … } from '@poltura/theme-sdk/elements';EditableRichTextProps
Props of EditableRichText.
settingrequiredstringId of a `richtext` setting of the current element.
classNamestringClasses added to the text's box.
ElementContext
The element instance currently drawing.
idrequiredstringThe instance id.
typerequiredstringThe element's type key.
ChildBlock
A child instance of the current element.
type ChildBlock<S extends SettingsSchema = SettingsSchema>idrequiredstringThe child's instance id.
typerequiredstringThe child's type key.
settingsrequiredSettingsOf<S>The child's settings in the shopper's language.
LazyBlockOptions
Options of lazyBlock.
loading() => ReactNodeDrawn while the code loads.
ssrbooleanFalse skips the code on the server, so the component draws only in the browser.