Need private packages and team management tools?Check out npm Teams »

@hashicorp/hashi-button

2.0.0 • Public • Published

Button

A simple button.

Props

  • title (str) - button text
  • url (str) [optional] - where the button links to
  • external (bool) [optional] - opens the link in a new tab
  • theme (str) [optional] - a hashicorp-defined button theme
  • classes (str) [optional] - any additional classes needed on the button
  • ga_prefix (str) [optional] - a prefix to add the to GA event when clicked

This component also will reflect any additional props you pass it to the top level, so you can attach things like onClick etc.

Dependents

  • hashi-hero
  • hashi-logo-grid

Keywords

none

Install

npm i @hashicorp/hashi-button

DownloadsWeekly Downloads

166

Version

2.0.0

License

none

Unpacked Size

11.7 kB

Total Files

4

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar