@crave/farmblocks-more-info

4.1.8 • Public • Published

Farmblocks More info

A component which renders a text, icon, and a tooltip when mouse is over the icon.

Installation

npm install @crave/farmblocks-more-info

API

A text or children must be supplied, otherwise the tooltip won't be rendered.

Property Description Type
trigger the icon or text that will display the tooltip when hovered node
children (required) content to be rendered inside the tooltip React.Node
text displayed at the left of the icon string
tooltipProps props to be passed to Tooltip component object

License

MIT

Package Sidebar

Install

npm i @crave/farmblocks-more-info

Weekly Downloads

16

Version

4.1.8

License

MIT

Unpacked Size

5.72 kB

Total Files

7

Last publish

Collaborators

  • viniciusmartin
  • luis.nascimento
  • seocam
  • vnakamura
  • alcferreira
  • imwra