Skip to main content

Interface: ButtonBlockProps

@headstartwp/core.react.ButtonBlockProps

The interface for components rendered by ButtonBlock

Hierarchy

Properties

attributes

Optional attributes: Object

Type declaration

NameType
alignAlign
blockStyle?string
borderBorder
colorsColors
spacingSpacing
typographyTypography
width?string

Inherited from

IBlockAttributes.attributes

Defined in

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


children

Optional children: ReactNode

Inherited from

IBlockAttributes.children

Defined in

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


className

Optional className: string

Inherited from

IBlockAttributes.className

Defined in

packages/core/src/react/blocks/types.ts:73


domNode

Optional domNode: Element

Inherited from

IBlockAttributes.domNode

Defined in

packages/core/src/react/blocks/types.ts:75


htmlAnchor

Optional htmlAnchor: string

Inherited from

IBlockAttributes.htmlAnchor

Defined in

packages/core/src/react/blocks/types.ts:76


linkTarget

Optional linkTarget: string

The link target

Defined in

packages/core/src/react/blocks/ButtonBlock.tsx:31


name

name: string

Inherited from

IBlockAttributes.name

Defined in

packages/core/src/react/blocks/types.ts:72


placeholder

Optional placeholder: string

The link placeholder text

Defined in

packages/core/src/react/blocks/ButtonBlock.tsx:41


rel

Optional rel: string

The link rel

Defined in

packages/core/src/react/blocks/ButtonBlock.tsx:36


style

Optional style: Record<string, string>

Inherited from

IBlockAttributes.style

Defined in

packages/core/src/react/blocks/types.ts:74


text

Optional text: string

The button text

Defined in

packages/core/src/react/blocks/ButtonBlock.tsx:26


title

Optional title: string

The title of the link

Defined in

packages/core/src/react/blocks/ButtonBlock.tsx:21


url

Optional url: string

The button url

Defined in

packages/core/src/react/blocks/ButtonBlock.tsx:16