import React from 'react';

import Modal from '../Modal';

import { Wrapper } from './styled';

type Props = {
  open: boolean;
};

const Dialog: React.FunctionComponent<Props> = ({
  open,
}) => {
  return (
    open ? (
      <Modal>
        <Wrapper>
          aaaaaa
        </Wrapper>
      </Modal>
    ) : null
  );
};

export default Dialog;
