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