Skip to content

Commit

Permalink
Changing the maximize color icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Daphne210 committed Aug 1, 2024
1 parent e8da7f2 commit f940b4e
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/data-visualizer/data-visualizer.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -900,19 +900,21 @@ const DataVisualizer: React.FC = () => {
<Intersect />
<span>View Report</span>
</Button>
<Button
size="md"
kind="secondary"
iconDescription={
isFullScreen
? t("minimize", "Minimize")
: t("maximize", "Maximize")
}
onClick={handleFullScreen}
className={styles.dsReportBtn}
renderIcon={Maximize}
hasIconOnly
/>
{data.length > 0 ? (
<Button
size="md"
kind="tertiary"
iconDescription={
isFullScreen
? t("minimize", "Minimize")
: t("maximize", "Maximize")
}
onClick={handleFullScreen}
className={styles.dsReportBtn}
renderIcon={Maximize}
hasIconOnly
/>
) : null}
{data.length > 0 || htmlContent != "" ? (
<>
{chartType === "pivot" ? (
Expand Down

0 comments on commit f940b4e

Please sign in to comment.