import * as React from 'react'
import { ModalRootComponentProps } from '../../interfaces/modal'
import { Icon, ModalPopup, ModalPopupContent} from '../'

const styles = require('../../../src/styles/components/modal.scss')

export class BasicModal extends React.Component<ModalRootComponentProps, any> {
    public render() {
        const { message } = this.props.state.modalProps

        return (
            <ModalPopup closeButton>
                <ModalPopupContent>
                    {message}
                </ModalPopupContent>
            </ModalPopup>
        )
    }
}