@s-ui/react-molecule-button-group-field

MoleculeButtonGroupField is the combination of and MoleculeButtonGroup and a MoleculeField

Usage no npm install needed!

<script type="module">
  import sUiReactMoleculeButtonGroupField from 'https://cdn.skypack.dev/@s-ui/react-molecule-button-group-field';
</script>

README

MoleculeButtonGroupField

MoleculeButtonGroupField is the combination of and MoleculeButtonGroup and a MoleculeField

Installation

$ npm install @s-ui/react-molecule-button-group-field
import MoleculeButtonGroupField from '@s-ui/react-molecule-button-group-field'

Basic (with Information help text)

  <MoleculeButtonGroupField
    id="info-help-text"
    label="Your text here"
    helpText="Tu descripciĆ³n en Latin"
  />

Success Message

  <MoleculeButtonGroupField
    id="success-help-text"
    label="Your text here"
    successText="Everything ok!"
  />

Error Message

  <MoleculeButtonGroupField
    id="error-help-text"
    label="Your text here"
    errorText="All wrong!"
  />

Alert Message

  <MoleculeButtonGroupField
    id="alert-help-text"
    label="Your text here"
    alertText="Something meh..."
  />

Find full description and more examples in the demo page.