import { h } from '@stencil/core';
import { registerField } from '../../FieldGenerator';
// component generator
const render = (field, value, errors, disabled, onFieldChange, onFieldBlur) => h("dvn-field-input-boolean", { disabled: disabled, field: field, errors: errors, onChange: (e) => onFieldChange(field, e.detail), onBlur: () => onFieldBlur(field), value: value });
// register 'text' field for json form generations
registerField('boolean', render);
export { BooleanField } from './boolean';
