import Button, { ButtonProps } from "../../Button/Button"; import React, { FC } from "react"; import { ComponentDefaultTestId } from "../../../tests/constants"; import { getTestId } from "../../../tests/test-ids-utils"; export type ToastButtonProps = ButtonProps; const ToastButton: FC = ({ className, id, "data-testid": dataTestId, ...buttonProps }) => { const overrideButtonProps = { ...Button.defaultProps, kind: Button.kinds.SECONDARY, marginLeft: false, ...buttonProps }; return (