import NextHead from 'next/head';
import IfActive from '../../IfActive';
const HeadSection = function HeadSection(props) {
  const {
    active = true,
    children
  } = props;
  return <IfActive active={active}>
      <NextHead>
        {children}
      </NextHead>
    </IfActive>;
};
export default HeadSection;