@crave/farmblocks-label

2.0.10 • Public • Published

Farmblocks Label

Label to be used along with form inputs

⚠️ Legacy

This package was completely rewritten in v2 If you're looking for documentation of the old version, check: https://www.npmjs.com/package/@crave/farmblocks-label/v/1.0.26

Installation

npm install @crave/farmblocks-label

Usage

It's a customised label html tag that changes its color accordingly with its predefined props.

import Label from "@crave/farmblocks-label";

export default () => (
  <div>
    <Label for="default">Default Label</Label>
    <input id="default" />
  </div>
);

For more examples and details on the available props, read the docs

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @crave/farmblocks-label

Weekly Downloads

2

Version

2.0.10

License

MIT

Unpacked Size

3.86 kB

Total Files

6

Last publish

Collaborators

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