import React from 'react';
import { block } from 'bem-cn';

import './index.css';

const bPopup = block('connect-popup');

export default ({ active, children }) => <div className={bPopup({ active })}>{children}</div>;
