README
fd-article-interests
FD-themed article interests.
Installation
- Run
npm i -D @fdmg/fd-article-interests
Demo
To run the demo, check-out this repository and run npm run build-demo
.
After the build succeeded you can open dist/demo.html
with your webbrowser.
Usage
import ArticleInterests from '@fdmg/fd-article-interests';
...
<ArticleInterests
onDisableAlertClick={this.onDisableAlertClick}
onEnableAlertClick={this.onEnableAlertClick}
onFollowClick={this.onFollowClick}
onUnfollowClick={this.onUnfollowClick}
title="Volgen via mijn nieuws"
titleLink="https://fd.nl/mijn-nieuws"
interests={this.state.interests}
/>