Components

RelatedStories

<RelatedStories />

Constructor

RelatedStories Component uses the RelatedStoryCard molecule component internally.

<RelatedStories stories={relatedStories} />
Parameters:
Name Type Description
props Object

Object containing parameters passed to the render prop

stories Object

Required. It takes in related stories object.

config Object

config object

heading Object

Optional. A String which serves as a title for this collection. If not passed, defaults to "Also Read" text.

aspectRatio Object

Optional. An Array of width and height. If not passed, defaults to [16,9].

View Source molecules/related-stories/related-stories.tsx, line 44