/*
* object of all elements and define their attributes
* Element consists of name, expected data, component (used to edit this data) and render methods
* render method should expect element itself and language and return the html string
* elements name is its frendlyname for translation purpose the key of i18n obj in element key
* data must be an object containing an array named errors and the data itself wich can be anything
* add a section attribute to the html to enable click to scroll to element lile <tr section="${element.id}">
*/
import title from 'src/NewsletterElementsConfig/title'
import text from 'src/NewsletterElementsConfig/text'
import appointment from 'src/NewsletterElementsConfig/appointment'
import contact from 'src/NewsletterElementsConfig/contact'
import spacer from 'src/NewsletterElementsConfig/spacer'
const elements = {
title,
text,
appointment,
contact,
spacer
}
export default elements