1.0.0-alpha.2 • Published 6 years ago

@talixo/fieldset v1.0.0-alpha.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Talixo Fieldset

UI Component which represents Fieldset

How to install

Package is available as @talixo/fieldset in NPM registry, so you can use it in your project using npm install @talixo/fieldset --save or yarn add @talixo/fieldset.

Requirements

Your package should additionally have some extra dependencies:

  • @talixo/shared: ^0.1.0
  • prop-types: ^15.6.1
  • react: ^16.2.0
  • react-dom: ^16.2.0

These packages are required by @talixo/fieldset, but you have to install them manually, to avoid having different versions of these in your application.

Supported props

It allows any props which are allowed for fieldset. Additionally, it handles some differently:

Property nameTypeDefaultDescription
asideLegendnoden/aAside legend of fieldset
classNamestringn/aAdditional class name passed to wrapper.
childrennoden/aChildren node in fieldset like input or checkbox
legendstringn/aLegend of fieldset

Changelog

  • 1.0.0 - initial version