Use new <Textarea> component in form/fields/textarea

[MAILPOET-2787]
This commit is contained in:
Ján Mikláš
2020-09-07 17:42:56 +02:00
committed by Veljko V
parent 0921018dae
commit 1673ff4baf

View File

@@ -1,10 +1,10 @@
import React from 'react';
import PropTypes from 'prop-types';
import Textarea from 'common/form/textarea/textarea';
const FormFieldTextarea = (props) => (
<textarea
<Textarea
type="text"
className="regular-text"
name={props.field.name}
id={`field_${props.field.name}`}
value={props.item[props.field.name]}