Skip to main content

Interface: AudioBlockProps

Defined in: packages/core/src/react/blocks/AudioBlock.tsx:13

The interface for components rendered by AudioBlock

Extends

Properties

attributes?

optional attributes: object

Defined in: packages/core/src/react/blocks/types.ts:84

align

align: Align

blockStyle?

optional blockStyle: string

border

border: Border

colors

colors: Colors

spacing

spacing: Spacing

typography

typography: Typography

width?

optional width: string

Inherited from

IBlockAttributes.attributes


autoplay?

optional autoplay: boolean

Defined in: packages/core/src/react/blocks/AudioBlock.tsx:22

Whether the audio should be autoplayable


caption?

optional caption: string

Defined in: packages/core/src/react/blocks/AudioBlock.tsx:27

Audio caption


children?

optional children: ReactNode

Defined in: packages/core/src/react/blocks/types.ts:82

Inherited from

IBlockAttributes.children


className?

optional className: string

Defined in: packages/core/src/react/blocks/types.ts:78

Inherited from

IBlockAttributes.className


domNode?

optional domNode: Element

Defined in: packages/core/src/react/blocks/types.ts:80

Inherited from

IBlockAttributes.domNode


htmlAnchor?

optional htmlAnchor: string

Defined in: packages/core/src/react/blocks/types.ts:81

Inherited from

IBlockAttributes.htmlAnchor


loop?

optional loop: 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

IBlockAttributes.name


preload?

optional preload: 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?

optional style: Record<string, string>

Defined in: packages/core/src/react/blocks/types.ts:79

Inherited from

IBlockAttributes.style