-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🪟🐛 Fix: visual regression in ConnectorIcon (#18849)
* fix visual regression * remove unused prop
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
airbyte-webapp/src/components/common/ConnectorIcon/ConnectorIcon.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import classNames from "classnames"; | ||
import React from "react"; | ||
|
||
import { getIcon } from "utils/imageUtils"; | ||
|
||
import styles from "./ConnectorIcon.module.scss"; | ||
|
||
interface Props { | ||
interface ConnectorIconProps { | ||
icon?: string; | ||
className?: string; | ||
small?: boolean; | ||
} | ||
|
||
export const ConnectorIcon: React.FC<Props> = ({ icon }) => ( | ||
<div className={styles.content} aria-hidden="true"> | ||
export const ConnectorIcon: React.FC<ConnectorIconProps> = ({ className, icon }) => ( | ||
<div className={classNames(styles.content, className)} aria-hidden="true"> | ||
{getIcon(icon)} | ||
</div> | ||
); |