import { jsx as _jsx } from "react/jsx-runtime";
import TextField from "@material-ui/core/TextField";
export const PropertyEditorDate = (props) => {
    const onChange = (event) => {
        Reflect.set(props.editObject, props.propertyName, event.target.value);
        props.updateCallback();
    };
    return (_jsx(TextField, { "data-testid": "property-editor-date", variant: "outlined", autoFocus: props.autoFocus, value: Reflect.get(props.editObject, props.propertyName), label: props.label, onChange: onChange, helperText: props.hint, type: props.storeTime ? 'datetime-local' : 'date', InputLabelProps: { shrink: true, required: true } }, void 0));
};
//# sourceMappingURL=PropertyEditorDate.js.map