import React from "react";

import LogsList from "./LogsList";

import mainStyle from "@styles/pages/MainLoggerSearchPage.scss";
import style from "@styles/components/PanelsComponents/LogsPanel/index.scss";

const LogsPanel = ({ logsList, setSelectedTime }) => {
  return (
    <div className={mainStyle.logs_panel}>
      <div className={style.logs_panel_wrapper}>
        <LogsList logsList={logsList} setSelectedTime={setSelectedTime} />
      </div>
    </div>
  );
};

export default LogsPanel;
