MediumPosts

Using a Gatsby plugin, this component automatically builds three ArticleCards populated with the most recent Medium posts at build time.

Example

Code

components/MediumPosts/MediumPosts.js
<MediumPosts color="dark" posts={3} />

Props

propertypropTyperequireddefaultdescription
colorstringlightSets the card for the correct color theme, default is light, options are light and dark
postsnumber3Sets the number of posts pulled from Medium, default is 3, maximum is 10.