@hashicorp/hashi-alert-banner

1.2.3 • Public • Published

Alert Banner

An alert banner that links somewhere, such as to a new release or announcement. Sets a cookie when closed to hide itself on future page visits.

Props

  • name (str) [optional]: string used for cookie name (defaults to slugified text property)
  • url (str): where to link to when clicked
  • tag (str): text contained inside the tag
  • theme (str): banner's thematic style
  • text (str): text in the main area
  • link-text (str): secondary text styled as a link

/@hashicorp/hashi-alert-banner/

    Package Sidebar

    Install

    npm i @hashicorp/hashi-alert-banner

    Weekly Downloads

    2

    Version

    1.2.3

    License

    none

    Unpacked Size

    21.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • abhishek-hashicorp
    • dstaley
    • cameronperera
    • alexju
    • consul-ui-services
    • wenincode-hashicorp
    • hashicb
    • britt.lindgren
    • paulhcp
    • nandereck
    • tstormk
    • hashibot-hds
    • lackeyjb1
    • youriwims
    • jpogran
    • _natmegs
    • thrashr888
    • melsumner
    • mwickett
    • didoo
    • zchsh
    • hcitsec
    • gregone
    • meirish
    • enmod
    • kaxcode
    • anubhavmishra-hashicorp
    • hashibot-web
    • cstitt-hashi
    • kstraut
    • mocohen
    • dhaulagiri