Skip to content

Commit 90a0d20

Browse files
authored
feat(compass-query-bar): update export to language button and icon (#3315)
1 parent af7aca7 commit 90a0d20

File tree

2 files changed

+5
-5
lines changed
  • packages
    • compass-aggregations/src/components/pipeline-toolbar/pipeline-settings
    • compass-query-bar/src/components

2 files changed

+5
-5
lines changed

packages/compass-aggregations/src/components/pipeline-toolbar/pipeline-settings/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const PipelineSettings: React.FunctionComponent<PipelineSettingsProps> =
5151
<Button
5252
variant="primaryOutline"
5353
size="xsmall"
54-
leftGlyph={<Icon glyph={'Export'} />}
54+
leftGlyph={<Icon glyph="Code" />}
5555
onClick={onExportToLanguage}
5656
data-testid="pipeline-toolbar-export-button"
5757
>

packages/compass-query-bar/src/components/query-bar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React, { useCallback } from 'react';
22
import {
33
Button,
44
Icon,
5-
IconButton,
65
MoreOptionsToggle,
76
css,
87
cx,
@@ -168,15 +167,16 @@ export const QueryBar: React.FunctionComponent<QueryBarProps> = ({
168167
{buttonLabel}
169168
</Button>
170169
{showExportToLanguageButton && (
171-
<IconButton
170+
<Button
172171
onClick={onOpenExportToLanguage}
173172
title="Open export to language"
174173
aria-label="Open export to language"
175174
data-testid="query-bar-open-export-to-language-button"
176175
type="button"
176+
size="small"
177177
>
178-
<Icon glyph="Export" />
179-
</IconButton>
178+
<Icon glyph="Code" />
179+
</Button>
180180
)}
181181

182182
{queryOptions && queryOptions.length > 0 && (

0 commit comments

Comments
 (0)