@hashicorp/hashi-button

just a button

Stats

StarsIssuesVersionUpdatedCreatedSize
@hashicorp/hashi-button
2.0.02 years ago4 years agoMinified + gzip package size for @hashicorp/hashi-button in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.