Unify segments label appearance in form editor
[MAILPOET-2463]
This commit is contained in:
committed by
Pavel Dohnal
parent
e7e116c83d
commit
939b646791
@@ -1,7 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {
|
import {
|
||||||
CheckboxControl,
|
CheckboxControl,
|
||||||
BaseControl,
|
|
||||||
} from '@wordpress/components';
|
} from '@wordpress/components';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import MailPoet from 'mailpoet';
|
import MailPoet from 'mailpoet';
|
||||||
@@ -36,10 +35,9 @@ const SegmentSelectEdit = ({ attributes, setAttributes }) => {
|
|||||||
],
|
],
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
<BaseControl
|
<span className="mailpoet_segment_label">
|
||||||
label={attributes.label}
|
{attributes.label}
|
||||||
className="mailpoet_segments_label"
|
</span>
|
||||||
/>
|
|
||||||
{renderValues()}
|
{renderValues()}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user