This package has been deprecated

Author message:

Superseded by @fdmg/design-system. See: https://github.com/FDMediagroep/fd-design-system

@fdmg/fd-buttons
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Build Status Coverage Status npm version Greenkeeper badge

fd-buttons

FD-themed buttons.

Installation

  • Run npm i -D @fdmg/fd-buttons

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 Button from '@fdmg/fd-buttons';
...
<ButtonCallToAction onClick={handleClick}>.fd-button-cta</ButtonCallToAction>
<ButtonCallToAction onClick={handleClick} className="m">Medium-sized .fd-button-cta.m</ButtonCallToAction>
<ButtonCallToAction onClick={handleClick} className="l">Large-sized .fd-button-cta.l</ButtonCallToAction>

<ButtonEditorial onClick={handleClick}>.fd-button</ButtonEditorial>
<ButtonEditorial onClick={handleClick} className="m">Medium-sized .fd-button.m</ButtonEditorial>
<ButtonEditorial onClick={handleClick} className="l">Large-sized .fd-button.l</ButtonEditorial>

Package Sidebar

Install

npm i @fdmg/fd-buttons

Weekly Downloads

0

Version

2.0.1

License

ISC

Unpacked Size

22.8 kB

Total Files

8

Last publish

Collaborators

  • dirk-straat
  • willem_liu
  • sapulidi