BlockProps
Interface of @saij/wp-app-framework, for type checks in your IDE.
Props that every component registered with the editor API receives.
Members
attributes
The attributes of the block.
setAttributes
Changes attributes of the block, like setAttributes of a block's edit component in WordPress.
clientId
The client ID of the block in the editor.
isPreview
Whether the block shows its front-end preview (toolbar button "Preview") instead of the editable fields.