hookshot/web/components/ConnectionCard.tsx
Will Hunt 1e8a112a28
Drop ignoreHooks configuration. (#592)
* Refactor HookFilter to only support enabledEvents (and add a function to convert)

* Convert connections to deprecate ignoreHooks

* Update documentation

* Split out EventHookCheckbox

* Refactor frontend to support enableHooks only mode

* drop old field name

* changelog

* Fix enabledHooks for widgets

* Fixes across the board

* Update test description

* Cleanup

* Fix HookFilter

* Fixup checkboxes

* Cleanup
2023-01-10 17:08:50 +00:00

19 lines
470 B
TypeScript

import style from "./ConnectionCard.module.scss";
interface IProps {
imageSrc: string;
serviceName: string;
description: string;
key: string;
onClick: () => void;
}
export function ConnectionCard(props: IProps) {
return <div className={style.card} onClick={props.onClick}>
<img alt="" src={props.imageSrc} />
<div>
<span>{props.serviceName}</span>
<p>{props.description}</p>
</div>
</div>;
}