import { createStyles } from 'antd-style'; import type { PropsWithChildren } from 'react'; import React from 'react'; import CommonHelmet from '../../common/CommonHelmet'; import Content from '../../slots/Content'; import Sidebar from '../../slots/Sidebar'; const useStyle = createStyles(({ css }) => ({ main: css` display: flex; margin-top: 40px; `, })); const SidebarLayout: React.FC> = ({ children }) => { const { styles } = useStyle(); return (
{children}
); }; export default SidebarLayout;