<CallToAction> Component<CallToActionheading='Test Heading'content='test content'links={[{ text: 'test link', url: '#', type: 'inbound' },{ text: 'test link', url: '#' }]}product='packer'variant='centered'/>
| Name | Description |
|---|---|
variantstring | Controls the visual appearance of the call to action, defaults to centered. |
heading*string | Header text |
content*string | Description text |
themestring | Color of background the CTA is on top of, default is light. |
classNamestring | Optional className to add to the root element |
productstring | If a different brand color is needed for buttons it can be set with this prop. |
linksarray | Links to be displayed as buttons. The first will be primary, following will be secondary. Array members must be of the type below: |
links[x]object | Object contains nested props, see below: |
links[x].textstring | |
links[x].urlstring | |
links[x].typestring |