Checkbox Input

A checkbox input component. Usually, this component will be used as part of an ISLE dashboard, but it can also be used standalone. In this case, you want to handle changes via the onChange attribute.

Example:

<CheckboxInput
    legend="Take the logarithm"
    defaultValue={false}
/>

Options:

  • defaultValue: The value the checkbox is initialized with. Default: false.
  • legend: string to be displayed as the title of te component. Default: ''.
  • onChange: Callback function invoked after each change of the checkbox value. Default: null.

results matching ""

    No results matching ""