Skip to main content

BlockHeader

Components

BlockHeader()

BlockHeader(props, context?): ReactNode

Component used to display the generic block actions for a content block in the beam editor

Parameters

ParameterType
propsBlockHeaderProps
context?any

Returns

ReactNode

Source

libs/design-system-components/src/components/BlockHeader/index.tsx:37

Interfaces

BlockHeaderProps

Extends

Properties

PropertyTypeInherited from
blockCreationStatus"error" | "success" | "pending"IBlockStatusToolbar.blockCreationStatus
blockOrder?number-
creatingBlockLabel?stringIBlockStatusToolbar.creatingBlockLabel
errorLabel?stringIBlockStatusToolbar.errorLabel
handleDecreaseBlockOrder?(index: number) => void-
handleIncreaseBlockOrder?(index: number) => void-
handleNsfwChange?() => void-
handleRemoveBlock?(index: number) => void-
handleRetry?() => voidIBlockStatusToolbar.handleRetry
icon?Element-
isFocusedBlock?boolean-
isNsfwCheckboxSelected?boolean-
retryLabel?stringIBlockStatusToolbar.retryLabel
successLabel?stringIBlockStatusToolbar.successLabel
totalBlocksLength?number-