@hashicorp/react-vertical-text-block-list
v7.0.1
Published
Vertical block list of links
Downloads
1,367
Maintainers
Keywords
Readme
Vertical Text Block List
Vertical list of blocks of text (with optional images) with links.
Props
data- (arr) - Array of objects from the CMS, object props belowlogo[optional] - overrides header text if presenturl- URL of logo to displayalt- alt text for image
header- [markdown] header text to display on the left of an itembody- [markdown] body text that is displayed to the rightlinkUrl- [optional] - If provided, links the entire 'card' to this URL
centerText[optional] (boolean) - sets text alignment to centered on mobile view if true (defaults to left-aligned)Link[optional] (component) - if using nextjs, you can pass theLinkcomponent and it will be used for rendering links
