import Components from '../Components';
import TextFieldEditData from './editForm/TextField.edit.data';
import TextFieldEditDisplay from './editForm/TextField.edit.display';
import TextFieldEditValidation from './editForm/TextField.edit.validation';
/**
 * The Edit Form function.
 * @param {...any} extend - The components that extend the edit form.
 * @returns {import('@formio/core').Component[]} - The edit form components.
 */
export default function (...extend) {
    return Components.baseEditForm([
        {
            key: 'display',
            components: TextFieldEditDisplay,
        },
        {
            key: 'data',
            components: TextFieldEditData,
        },
        {
            key: 'validation',
            components: TextFieldEditValidation,
        },
    ], ...extend);
}
