soapbox/src/pages/empty-page.tsx

22 wiersze
332 B
TypeScript
Czysty Zwykły widok Historia

2022-04-28 17:51:21 +00:00
import React from 'react';
import { Layout } from '../components/ui';
2023-01-10 23:03:15 +00:00
interface IEmptyPage {
children: React.ReactNode;
2023-01-10 23:03:15 +00:00
}
const EmptyPage: React.FC<IEmptyPage> = ({ children }) => {
2022-04-28 17:51:21 +00:00
return (
<>
2022-04-28 17:51:21 +00:00
<Layout.Main>
{children}
</Layout.Main>
<Layout.Aside />
</>
2022-04-28 17:51:21 +00:00
);
};
export default EmptyPage;