Interface: AudioBlockProps
Defined in: packages/core/src/react/blocks/AudioBlock.tsx:13
The interface for components rendered by AudioBlock
Extends
Properties
attributes?
optionalattributes:object
Defined in: packages/core/src/react/blocks/types.ts:84
align
align:
Align
blockStyle?
optionalblockStyle:string
border
border:
Border
colors
colors:
Colors
spacing
spacing:
Spacing
typography
typography:
Typography
width?
optionalwidth:string
Inherited from
autoplay?
optionalautoplay:boolean
Defined in: packages/core/src/react/blocks/AudioBlock.tsx:22
Whether the audio should be autoplayable
caption?
optionalcaption:string
Defined in: packages/core/src/react/blocks/AudioBlock.tsx:27
Audio caption
children?
optionalchildren:ReactNode
Defined in: packages/core/src/react/blocks/types.ts:82
Inherited from
className?
optionalclassName:string
Defined in: packages/core/src/react/blocks/types.ts:78
Inherited from
domNode?
optionaldomNode:Element
Defined in: packages/core/src/react/blocks/types.ts:80
Inherited from
htmlAnchor?
optionalhtmlAnchor:string
Defined in: packages/core/src/react/blocks/types.ts:81
Inherited from
loop?
optionalloop:boolean
Defined in: packages/core/src/react/blocks/AudioBlock.tsx:32
Whether the audio should be played in a loop
name
name:
string
Defined in: packages/core/src/react/blocks/types.ts:77
Inherited from
preload?
optionalpreload:string
Defined in: packages/core/src/react/blocks/AudioBlock.tsx:37
Whether to preload the audio or not
src
src:
string
Defined in: packages/core/src/react/blocks/AudioBlock.tsx:17
The audio source URL.
style?
optionalstyle:Record<string,string>
Defined in: packages/core/src/react/blocks/types.ts:79