<CallToAction>
ComponentName | Description |
---|---|
variant string | Controls the visual appearance of the call to action, defaults to centered . |
heading* string | Header text |
content* string | Description text |
theme string | Color of background the CTA is on top of, default is light . |
className string | Optional className to add to the root element |
product string | If a different brand color is needed for buttons it can be set with this prop. |
links array | 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].text string | |
links[x].url string | |
links[x].type string |