import { Button } from 'antd'; import { FC } from 'react'; import cn from 'classnames'; import { ExternalAction } from '../../../interfaces/external-action'; import styles from './ActionButton.module.scss'; export type ActionButtonProps = { action: ExternalAction; primary?: boolean; externalActionSelected: (action: ExternalAction) => void; }; export const ActionButton: FC = ({ action, primary = true, externalActionSelected, }) => { const { title, description, icon, color } = action; return ( ); };