diff --git a/src-docs/src/views/timeline/timeline.tsx b/src-docs/src/views/timeline/timeline.tsx index 6950f5222208..bc8a976d4819 100644 --- a/src-docs/src/views/timeline/timeline.tsx +++ b/src-docs/src/views/timeline/timeline.tsx @@ -5,7 +5,7 @@ import { EuiTimelineItemPanel, } from '../../../../src/components/timeline'; -const body = Lorem; +const body = Lorem; const items: EuiTimelineProps['items'] = [ { diff --git a/src-docs/src/views/timeline/timeline_complex.tsx b/src-docs/src/views/timeline/timeline_complex.tsx index 46d0162fad11..ce26f89e3f10 100644 --- a/src-docs/src/views/timeline/timeline_complex.tsx +++ b/src-docs/src/views/timeline/timeline_complex.tsx @@ -9,8 +9,6 @@ import { EuiFlexGroup, EuiFlexItem, EuiSpacer, - EuiLink, - EuiMarkdownEditor, EuiPanel, EuiBadge, EuiTitle, @@ -22,7 +20,6 @@ export default () => { const [checked1, setChecked1] = useState(false); const [checked2, setChecked2] = useState(false); const [checked3, setChecked3] = useState(false); - const toggleTextSwitchId = useGeneratedHtmlId({ prefix: 'toggleTextSwitch' }); const buttonElementAccordionId = useGeneratedHtmlId({ prefix: 'buttonElementAccordion', }); diff --git a/src-docs/src/views/timeline/timeline_example.js b/src-docs/src/views/timeline/timeline_example.js index f542bc7c15bd..129aa52607a2 100644 --- a/src-docs/src/views/timeline/timeline_example.js +++ b/src-docs/src/views/timeline/timeline_example.js @@ -69,17 +69,17 @@ export const TimelineExample = { text: (

- Use EuiTimelineItemto display timeline items. Each - EuiTimelineItem accepts two props: iconicon and{' '} - children. For the children, we recommend the - usage of a{' '} + Use EuiTimelineItem to display timeline items. Each{' '} + EuiTimelineItem accepts two props:{' '} + icon and children. For the{' '} + children, we recommend the usage of a{' '} + EuiTimelineItemPanel but you can use any other + component. If you use a{' '} EuiPanel - {' '} - with hasBorder set to true or with color{' '} - {'"transparent"'}. Try to avoid passing the color{' '} - {'"plain"'}. This color adds a shadow that is not - suitable for this component. + + , try to avoid passing the color {'"plain"'}. + This color adds a shadow that is not suitable for this component.

), @@ -104,8 +104,8 @@ export const TimelineExample = { EuiPanel {' '} - and it's the perfect building block to create any type os - timelines. + and it's the recommended component to use in{' '} + EuiTimelineItem.children.

),