import * as React from "react";
import { ExecuteActionButton as CoreExecuteActionButton } from "../../Controls/ExecuteActionButton";
import { ExecuteActionButton as MeetingExecuteActionButton } from "./Meeting/ExecuteActionButton";

export class ExecuteActionButton extends React.Component<any, any> {
    constructor(props: any) {
        super(props);
    }

    public render(): JSX.Element {
        return (
            this.props.entityId == 33 ?
                <MeetingExecuteActionButton {...this.props}></MeetingExecuteActionButton> :
                <CoreExecuteActionButton {...this.props}></CoreExecuteActionButton>
        );
    }
}