import { ReactNode } from 'react';
import FeedSidebar from './_component/FeedSidebar';
import FeedToastWrapper from './_component/FeedToastWrapper';
import './style.scss';

type Props = {
	children: ReactNode;
};

export default function FeedLayout({ children }: Props) {
	return (
		<div className="feed">
			<FeedToastWrapper />
			<main className="feed__main">
				{children}
			</main>
			<FeedSidebar />
		</div>
	);
}