@crave/farmblocks-more-info

More info component

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
2023Jun 15, 2021Aug 23, 2017Minified + gzip package size for @crave/farmblocks-more-info in KB

Readme

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

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.