Popover is attached to the #anchorTarget button
@@ -149,7 +149,7 @@ export default () => {
### Guided tour
-Uers proceed through tour steps without needing to complete actions on the underlying page. In this scenario, consider showing both **Close tour** and **Next** buttons.
+Users proceed through tour steps without needing to complete actions on the underlying page. In this scenario, consider showing both **Close tour** and **Next** buttons.
```tsx interactive
import React, { useEffect, useState } from 'react';
@@ -162,34 +162,35 @@ import {
EuiFlexItem,
EuiPanel,
EuiButtonIcon,
+ EuiText,
} from '@elastic/eui';
const demoTourSteps = [
{
step: 1,
title: 'Preview mode',
- content: See what your project looks like.
,
+ content: See what your project looks like.
,
anchorRef: 'notActionDrivenStep1',
iconType: 'eye',
},
{
step: 2,
title: 'Build Mode',
- content: Build your project.
,
+ content: Build your project.
,
anchorRef: 'notActionDrivenStep2',
iconType: 'code',
},
{
step: 3,
title: 'Comment mode',
- content: Collaborate with your colleagues.
,
+ content: Collaborate with your colleagues.
,
anchorRef: 'notActionDrivenStep3',
iconType: 'comment',
},
{
step: 2,
title: 'Share',
- content: Share your project.
,
+ content: Share your project.
,
anchorRef: 'notActionDrivenStep4',
iconType: 'share',
},
@@ -316,6 +317,7 @@ import {
EuiSpacer,
EuiTextArea,
EuiTourStep,
+ EuiText,
} from '@elastic/eui';
const demoTourSteps = [
@@ -323,20 +325,19 @@ const demoTourSteps = [
step: 1,
title: 'Step 1',
content: (
-
+
Copy and paste this sample query.
-
- {'SELECT email FROM “kibana_sample_data_ecommerce”'}
+ {'SELECT email FROM "kibana_sample_data_ecommerce"'}
-
+
),
anchorRef: 'tourStep2',
},
{
step: 2,
title: 'Step 2',
- content: Save your changes.
,
+ content: