❗ DEPRECATED ❗ : Superseded by @fdmg/design-system. See: https://github.com/FDMediagroep/fd-design-system
FD-themed article interests.
- Run
npm i -D @fdmg/fd-article-interests
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.
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}
/>