import React from 'react';
import { FormField, Input } from '@wix/design-system';
export const FieldNameInput = ({ label, value, onChange, onBlur, error, }) => (React.createElement(FormField, { required: true, stretchContent: true, label: label, status: error ? 'error' : undefined, statusMessage: error },
    React.createElement(Input, { placeholder: "Enter a name", value: value, onChange: (e) => onChange(e.target.value), onBlur: onBlur })));
//# sourceMappingURL=FieldNameInput.js.map