ArrayCheckboxInputsPropsinterface
{
items: ImmutableArray<T>;
formatter?: ((value: T) => ReactNode) | undefined;
}| Property | Type | |
|---|---|---|
.items | ImmutableArray<T> | Array of values to show in the list of checkboxes. required |
.formatter | ((value: T) => ReactNode) | Function that formats an obscure item into a ReactNode for display. |
Props for ArrayCheckboxInputs, which renders a checkbox for each item in an array of values.