@fdmg/fd-article-interestsdeprecated

FD-themed article interests

Usage no npm install needed!

<script type="module">
  import fdmgFdArticleInterests from 'https://cdn.skypack.dev/@fdmg/fd-article-interests';
</script>

README

Build Status Coverage Status npm version Greenkeeper badge

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}
/>