@hashicorp/react-callouts

8.0.2 • Public • Published

Callouts

Display a set of items, each with a title, description, option links, and an optional icon.

Notes on Props

  • items.icon - Can be given an SVG string, or used as a render prop, which will be passed { theme, brand }. Whatever it renders, it shouldn't exceed 96px square in size. If it does, there's no guarantee this component will display it in a nice way.
  • items.content - Can be given a string of content, or used as a render prop, which will be passed { theme, brand }. Whatever it renders, it wil likely be constrained to a container only a few hundred pixels wide.

Readme

Keywords

none

Package Sidebar

Install

npm i @hashicorp/react-callouts

Weekly Downloads

4,307

Version

8.0.2

License

MPL-2.0

Unpacked Size

28.4 kB

Total Files

9

Last publish

Collaborators

  • gstewart-hashi
  • prestonbourne
  • mikegolus
  • leahmariebush
  • kaitlynnefuery
  • abhishek-hashicorp
  • cameronperera
  • alexju
  • consul-ui-services
  • hashicb
  • britt.lindgren
  • paulhcp
  • nandereck
  • tstormk
  • hashibot-hds
  • lackeyjb1
  • jpogran
  • thrashr888
  • melsumner
  • didoo
  • zchsh
  • hcitsec
  • gregone
  • meirish
  • enmod
  • kaxcode
  • anubhavmishra-hashicorp
  • hashibot-web
  • cstitt-hashi
  • mocohen
  • dhaulagiri