0.2.0 • Published 2 years ago

@politiet/pds-button v0.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Primary button

<Button>Primary</Button>
<Button hasArrow={true}>Primary</Button>

Secondary button

<Button type="secondary">Secondary</Button>
<Button type="secondary" hasArrow={true}>Secondary</Button>

Call to action button

<Button type="action">Call to action</Button>

List buttons

Regular

<Button type="list">List regular</Button>

Highlighted

<Button type="highlight">List highlight</Button>

Load more button

<Button type="load-more" size="small">Load more</Button>

Dark mode buttons

<Button type="secondary-dark">Secondary Dark</Button>
<Button type="secondary-dark" hasArrow={true}>Secondary Dark</Button>

Modifier class property

The modifier class property should only be used for layout purposes, and not to alter the buttons visuals.

<Button hasArrow={true} modifierClass="modifier-class">Primary</Button>
0.1.2

2 years ago

0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.1.0

3 years ago

0.1.1

3 years ago

1.0.0

3 years ago