@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

    64

    Version

    2.0.0

    License

    none

    Unpacked Size

    11.7 kB

    Total Files

    4

    Last publish

    Collaborators

    • _natmegs
    • thrashr888
    • amyrlam
    • melsumner
    • johncowen
    • mwickett
    • didoo
    • jescalan
    • zchsh
    • brandonromano
    • hcitsec
    • gregone
    • meirish
    • roaks3
    • jimmymerritello
    • enmod
    • kylemac
    • wkentdag
    • kaxcode
    • anubhavmishra-hashicorp
    • hashibot-web
    • cstitt-hashi
    • bkalow
    • kstraut
    • mocohen
    • dhaulagiri