<FeaturedSlider>
ComponentA component used to display several featured items, rotating through them on a timer.
Name | Description |
---|---|
heading string | text displayed in the primary heading |
className string | Optional className to add to the root element |
theme string | used to control whether the component appears on a light or dark background |
features array | The actual "features" rendered by the component Array members must be of the type below: |
features[x] object | Object contains nested props, see below: |
features[x].heading string | title of the feature |
features[x].content string | text content of the feature, html accepted |
features[x].logo object | company logo Object contains nested props, see below: |
features[x].logo.url string | url of the image |
features[x].logo.alt string | alt text for the image |
features[x].logo.format string | format of the image, like "jpg" or "svg" |
features[x].image object | featured image Object contains nested props, see below: |
features[x].image.url string | url of the image |
features[x].image.alt string | alt text for the image |
features[x].image.format string | format of the image, like "jpg" or "svg" |
features[x].link object | controls a link to a resource with further details Object contains nested props, see below: |
features[x].link.text string | link text |
features[x].link.url string | link url |
features[x].link.type string | link type |
"Dark Theme"