mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
(cherry picked from commit c26e085c92
)
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
This commit is contained in:
parent
5cb4e6be2c
commit
71713dab0b
1 changed files with 24 additions and 22 deletions
|
@ -46,28 +46,30 @@ export function GeoFieldWorkspacePanel(props: Props) {
|
|||
return (
|
||||
<EuiPageContentBody className="lnsWorkspacePanelWrapper__pageContentBody">
|
||||
<EuiText className="lnsWorkspacePanel__emptyContent" textAlign="center" size="s">
|
||||
<h2>
|
||||
<strong>{getVisualizeGeoFieldMessage(props.fieldType)}</strong>
|
||||
</h2>
|
||||
<GlobeIllustration aria-hidden={true} className="lnsWorkspacePanel__promptIllustration" />
|
||||
<DragDrop
|
||||
className="lnsVisualizeGeoFieldWorkspacePanel__dragDrop"
|
||||
dataTestSubj="lnsGeoFieldWorkspace"
|
||||
draggable={false}
|
||||
dropTypes={['field_add']}
|
||||
order={dragDropOrder}
|
||||
value={dragDropIdentifier}
|
||||
onDrop={onDrop}
|
||||
>
|
||||
<p>
|
||||
<strong>
|
||||
<FormattedMessage
|
||||
id="xpack.lens.geoFieldWorkspace.dropMessage"
|
||||
defaultMessage="Drop field here to open in Maps"
|
||||
/>
|
||||
</strong>
|
||||
</p>
|
||||
</DragDrop>
|
||||
<div>
|
||||
<h2>
|
||||
<strong>{getVisualizeGeoFieldMessage(props.fieldType)}</strong>
|
||||
</h2>
|
||||
<GlobeIllustration aria-hidden={true} className="lnsWorkspacePanel__promptIllustration" />
|
||||
<DragDrop
|
||||
className="lnsVisualizeGeoFieldWorkspacePanel__dragDrop"
|
||||
dataTestSubj="lnsGeoFieldWorkspace"
|
||||
draggable={false}
|
||||
dropTypes={['field_add']}
|
||||
order={dragDropOrder}
|
||||
value={dragDropIdentifier}
|
||||
onDrop={onDrop}
|
||||
>
|
||||
<p>
|
||||
<strong>
|
||||
<FormattedMessage
|
||||
id="xpack.lens.geoFieldWorkspace.dropMessage"
|
||||
defaultMessage="Drop field here to open in Maps"
|
||||
/>
|
||||
</strong>
|
||||
</p>
|
||||
</DragDrop>
|
||||
</div>
|
||||
</EuiText>
|
||||
</EuiPageContentBody>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue