BlockHeader
Components
BlockHeader()
BlockHeader(
props
,context
?):ReactNode
Component used to display the generic block actions for a content block in the beam editor
Parameters
Parameter | Type |
---|---|
props | BlockHeaderProps |
context ? | any |
Returns
ReactNode
Source
libs/design-system-components/src/components/BlockHeader/index.tsx:37
Interfaces
BlockHeaderProps
Extends
Properties
Property | Type | Inherited from |
---|---|---|
blockCreationStatus | "error" | "success" | "pending" | IBlockStatusToolbar .blockCreationStatus |
blockOrder? | number | - |
creatingBlockLabel? | string | IBlockStatusToolbar .creatingBlockLabel |
errorLabel? | string | IBlockStatusToolbar .errorLabel |
handleDecreaseBlockOrder? | (index : number ) => void | - |
handleIncreaseBlockOrder? | (index : number ) => void | - |
handleNsfwChange? | () => void | - |
handleRemoveBlock? | (index : number ) => void | - |
handleRetry? | () => void | IBlockStatusToolbar .handleRetry |
icon? | Element | - |
isFocusedBlock? | boolean | - |
isNsfwCheckboxSelected? | boolean | - |
retryLabel? | string | IBlockStatusToolbar .retryLabel |
successLabel? | string | IBlockStatusToolbar .successLabel |
totalBlocksLength? | number | - |