Skip to content

Commit

Permalink
clean up label
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsongl committed Oct 28, 2020
1 parent 5755a9b commit ffda0f5
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,19 @@ export function VectorStyleSymbolizeAsEditor({
handlePropertyChange(VECTOR_STYLES.SYMBOLIZE_AS, styleDescriptor);
};

const symbolLabel = i18n.translate('xpack.maps.vector.symbolLabel', {
defaultMessage: 'Symbol type',
});
const symbolizeAsForm = (
<EuiFormRow
label={i18n.translate('xpack.maps.vector.symbolLabel', {
defaultMessage: 'Symbol type',
})}
display="columnCompressed"
>
<EuiFormRow label={symbolLabel} display="columnCompressed">
<EuiButtonGroup
isDisabled={disabled}
buttonSize="compressed"
options={SYMBOLIZE_AS_OPTIONS}
idSelected={selectedOption ? selectedOption.id : undefined}
onChange={onSymbolizeAsChange}
isFullWidth
legend={i18n.translate('xpack.maps.vector.symbolLabel', {
defaultMessage: 'Symbol type',
})}
legend={symbolLabel}
/>
</EuiFormRow>
);
Expand Down

0 comments on commit ffda0f5

Please sign in to comment.