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