First pass at CSS identifiers + test to verify they are set. For #2193

This commit is contained in:
Gabe Kangas
2022-12-11 21:06:20 -08:00
parent 7fe811c79a
commit c231fd3592
13 changed files with 89 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
import { Button } from 'antd';
import { FC } from 'react';
import cn from 'classnames';
import { ExternalAction } from '../../../interfaces/external-action';
import styles from './ActionButton.module.scss';
@@ -19,7 +20,7 @@ export const ActionButton: FC<ActionButtonProps> = ({
return (
<Button
type={primary ? 'primary' : 'default'}
className={`${styles.button}`}
className={cn([`${styles.button}`, 'action-button'])}
onClick={() => externalActionSelected(action)}
style={{ backgroundColor: color }}
>