import React from 'react'; import cn from 'classnames'; import { CloseButton } from 'UI'; import { useStore } from 'App/mstore'; import stl from './header.module.css'; function Header({ children, className, onFilterChange, showClose = true, customStyle, customClose, ...props }) { const { uiPlayerStore } = useStore(); const { closeBottomBlock } = uiPlayerStore; return (
{children}
{showClose && ( )}
); } Header.displayName = 'Header'; export default Header;