import React, { useState, useEffect } from 'react';
import './index.less';

export default ({ isOpen }) => {
  return (
    <div className="box">
      <div className={`content ${isOpen ? null : 'closeBg'}`}>
        <div className={`point  ${isOpen ? null : 'closePt'}`}></div>
      </div>
    </div>
  );
};
