MediumPosts
Using a Gatsby plugin, this component automatically builds three
ArticleCards
Setup
To update the source account for this component, pass in a
mediumAccount
gatsby-config.js
plugins: [{resolve: 'gatsby-theme-carbon',options: {mediumAccount: 'carbondesign',},},];
Example
Code
<MediumPosts color="dark" postLimit={3} />
Props
| property | propType | required | default | description | | --------- | -------- | -------- | ------- | --------------------------------------------------------------------------------------------- | | color | string | |
light
light
light
dark
3
3
10