Interface: ButtonBlockProps
@headstartwp/core.react.ButtonBlockProps
The interface for components rendered by ButtonBlock
Hierarchy
↳
ButtonBlockProps
Properties
attributes
• Optional
attributes: Object
Type declaration
Name | Type |
---|---|
align | Align |
blockStyle? | string |
border | Border |
colors | Colors |
spacing | Spacing |
typography | Typography |
width? | string |
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:79
children
• Optional
children: ReactNode
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:77
className
• Optional
className: string
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:73
domNode
• Optional
domNode: Element
Inherited from
Defined in
packages/core/src/react/blocks/types.ts:75
htmlAnchor
• Optional
htmlAnchor: string
Inherited from
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
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
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