❗ DEPRECATED ❗ : Superseded by @fdmg/design-system. See: https://github.com/FDMediagroep/fd-design-system
FD-themed breaking news alert.
- Run
npm i -D @fdmg/fd-breaking-news-alert
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 BreakingNewsAlert from '@fdmg/fd-breaking-news-alert';
...
<BreakingNewsAlert
cardStyle="default"
onChange={this.onBreakingNewsAlertChange}
/>