<VerticalTextBlockList>
ComponentA pretty way to display a list of informational links. Used primarily on community pages on docs sites.
<VerticalTextBlockListdata={[{logo: {url: 'https://www.datocms-assets.com/2885/1536611731-meganav-terraform.svg',alt: 'Terraform Logo',},header: 'This is a header',body: 'This is some body text to display',linkUrl: 'https://learn.hashicorp.com/terraform',}]}/>
Name | Description |
---|---|
product string | A lower-case product identifier to pull in respective theme colors. The default is hashicorp blue. |
centerText boolean | Is text centered on mobile viewports? |
data array | An object containing data from the CMS Array members must be of the type below: |
data[x] object | Object contains nested props, see below: |
data[x].header string | headline of the current item |
data[x].body string | text that appears to the right of the headline, can contain HTML |
data[x].linkUrl string | when the item is clicked, it will direct to this URL, if present |
data[x].logo object | an image displayed instead of the header , if presentObject contains nested props, see below: |
data[x].logo.url string | image url |
data[x].logo.alt string | image alt |
className string | Optional className to add to the root element |