import { ReactNode } from 'react';

type BooksLayoutProps = {
  children?: ReactNode;
  list?: ReactNode;
  deals?: ReactNode;
};

const BooksLayout: React.FC<BooksLayoutProps> = ({ list, deals }) => {
  return (
    <>
      {list}
      <hr />
      {deals}
    </>
  );
};

export default BooksLayout;
