Skip to content

Commit a154694

Browse files
authored
fix: add panel around data listening cli (#5459)
1 parent e84014a commit a154694

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

src/homepageExperience/components/steps/cli/WriteData.tsx

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
import React, {useEffect, useState} from 'react'
33

44
// Components
5-
import {Button, ButtonGroup, ComponentColor} from '@influxdata/clockface'
5+
import {
6+
Button,
7+
ButtonGroup,
8+
ComponentColor,
9+
InfluxColors,
10+
Panel,
11+
} from '@influxdata/clockface'
612
import CodeSnippet from 'src/shared/components/CodeSnippet'
713
import DataListening from 'src/homepageExperience/components/DataListening'
814
import {SafeBlankLink} from 'src/utils/SafeBlankLink'
@@ -134,8 +140,11 @@ export const WriteDataComponent = (props: OwnProps) => {
134140
Once the data is finished writing, you will see a confirmation
135141
below.
136142
</p>
137-
<DataListening bucket={bucketName} />
138-
143+
<Panel backgroundColor={InfluxColors.Grey15}>
144+
<Panel.Body>
145+
<DataListening bucket={bucketName} />
146+
</Panel.Body>
147+
</Panel>
139148
<h2>Review data concepts</h2>
140149
<p>
141150
<b>Field (required)</b> <br />
@@ -197,7 +206,11 @@ export const WriteDataComponent = (props: OwnProps) => {
197206
Once the data is finished writing, you will see a confirmation
198207
below.
199208
</p>
200-
<DataListening bucket={bucketName} />
209+
<Panel backgroundColor={InfluxColors.Grey15}>
210+
<Panel.Body>
211+
<DataListening bucket={bucketName} />
212+
</Panel.Body>
213+
</Panel>
201214
<h2>Review data concepts</h2>
202215
<p>
203216
<b>Field (required)</b> <br />

0 commit comments

Comments
 (0)