Home Reference Source

src/components/textarea/TextArea.form.js

import textEditForm from '../textfield/TextField.form';
import TextAreaEditDisplay from './editForm/TextArea.edit.display';
import TextAreaEditValidation from './editForm/TextArea.edit.validation';

export default function(...extend) {
  return textEditForm([
    {
      key: 'display',
      components: TextAreaEditDisplay
    },
    {
      key: 'validation',
      components: TextAreaEditValidation
    },
    {
      key: 'addons',
      ignore: true
    },
  ], ...extend);
}