Skip to main content

Interface: ButtonBlockProps

Defined in: packages/core/src/react/blocks/ButtonBlock.tsx:15

The interface for components rendered by ButtonBlock

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


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


linkTarget?

optional linkTarget: string

Defined in: packages/core/src/react/blocks/ButtonBlock.tsx:34

The link target


name

name: string

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

Inherited from

IBlockAttributes.name


placeholder?

optional placeholder: string

Defined in: packages/core/src/react/blocks/ButtonBlock.tsx:44

The link placeholder text


rel?

optional rel: string

Defined in: packages/core/src/react/blocks/ButtonBlock.tsx:39

The link rel


style?

optional style: Record<string, string>

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

Inherited from

IBlockAttributes.style


text?

optional text: string

Defined in: packages/core/src/react/blocks/ButtonBlock.tsx:29

The button text


title?

optional title: string

Defined in: packages/core/src/react/blocks/ButtonBlock.tsx:24

The title of the link


url?

optional url: string

Defined in: packages/core/src/react/blocks/ButtonBlock.tsx:19

The button url