Skip to content

Commit

Permalink
🪟 🧹 Use custom arrow icon in the new Streams Table (#20678)
Browse files Browse the repository at this point in the history
* update icon used in streams table and its headers

* wrap in arrowCell div
  • Loading branch information
teallarson authored Jan 3, 2023
1 parent a5fcbaa commit 9384c59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { faArrowRight } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import classnames from "classnames";
import React, { useMemo } from "react";
import { FormattedMessage } from "react-intl";

import { ArrowRightIcon } from "components/icons/ArrowRightIcon";
import { Cell, Row } from "components/SimpleTableComponents";
import { CheckBox } from "components/ui/CheckBox";
import { Switch } from "components/ui/Switch";
Expand Down Expand Up @@ -119,7 +118,9 @@ export const CatalogTreeTableRow: React.FC<StreamHeaderProps> = ({
/>
)}
</Cell>
<FontAwesomeIcon icon={faArrowRight} className={styles.arrowCell} />
<div className={styles.arrowCell}>
<ArrowRightIcon />
</div>
<Cell flex={1} title={destNamespace}>
<Text size="md" className={styles.cellText}>
{destNamespace}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { faArrowRight } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import classnames from "classnames";
import { FormattedMessage } from "react-intl";

import { ArrowRightIcon } from "components/icons/ArrowRightIcon";
import { Heading } from "components/ui/Heading";

import { useConnectionFormService } from "hooks/services/ConnectionForm/ConnectionFormService";
Expand Down Expand Up @@ -31,7 +30,7 @@ export const StreamConnectionHeader: React.FC = () => {
</Heading>
</div>
<div className={styles.arrowContainer}>
<FontAwesomeIcon icon={faArrowRight} />
<ArrowRightIcon />
</div>
<div className={destinationStyles}>
{renderIcon(destinationDefinition.icon)}{" "}
Expand Down

0 comments on commit 9384c59

Please sign in to comment.