@crave/farmblocks-tags

3.1.7 • Public • Published

Farmblocks Tag

A styled and removable tag.

Installation

npm install @crave/farmblocks-tags

API

Property Description Type
text tag text string
onRemove function to be called when the tag is closed - its absence hide the remove button function
value a value to be passed with onRemove when the function is called any
type will set the colors of the tag string, oneOf(tagTypes)
icon icon placed at the left side of the text node
children any content that can be rendered node

License

MIT

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @crave/farmblocks-tags

    Weekly Downloads

    42

    Version

    3.1.7

    License

    MIT

    Unpacked Size

    6.93 kB

    Total Files

    8

    Last publish

    Collaborators

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