import * as React from "react";

type Props = {
    buttonYesStyle?: string;
    submitAction?: Function | null;
    submitText?: string;
    title?: string;
    testAutomationId?: string;
} & DefaultProps;

type DefaultProps = {
    buttonYesStyle: string;
    title: string;
    submitText: string;
    submitAction: null;
    testAutomationId: string;
}

export class Alert extends React.Component<Props & DefaultProps> {
    submitAction(): void;
}