@schibstedspain/sui-form-checkbox

1.8.0 • Public • Published

FormCheckbox

Important: The @schibstedspain/sui-form-checkbox component is not yet fully compliant with UX Design, as it is still in WIP by UX team. Please take into account the specifications defined here, when iterate this first provisional component's version to make it fully compliant.

Simple checkbox form element.

You can pass a custom callback to be executed when the checkbox value is changed, through onChange property.

Despite it has default icons to represent the states of the checkbox, it allows their customization (for checked/unchecked states) through svgIcons.checked and svgIcons.unchecked properties.

It also supports to display an error message, if the component's property errorMessage is set.

Readme

Keywords

none

Package Sidebar

Install

npm i @schibstedspain/sui-form-checkbox

Weekly Downloads

2

Version

1.8.0

License

MIT

Unpacked Size

10.3 kB

Total Files

7

Last publish

Collaborators

  • schibstedspain