21 lines
331 B
TypeScript
21 lines
331 B
TypeScript
import React from 'react';
|
|
|
|
import { Layout } from '../components/ui';
|
|
|
|
interface IEmptyPage {
|
|
children: React.ReactNode
|
|
}
|
|
|
|
const EmptyPage: React.FC<IEmptyPage> = ({ children }) => {
|
|
return (
|
|
<>
|
|
<Layout.Main>
|
|
{children}
|
|
</Layout.Main>
|
|
|
|
<Layout.Aside />
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default EmptyPage;
|