Files
my-links/inertia/components/layouts/dashboard_layout.tsx
2024-06-02 23:59:57 +02:00

19 lines
474 B
TypeScript

import styled from '@emotion/styled';
import { ReactNode } from 'react';
import BaseLayout from './_base_layout';
const DashboardLayoutStyle = styled.div(({ theme }) => ({
height: 'auto',
width: theme.media.small_desktop,
maxWidth: '100%',
padding: '0.75em 1em',
}));
const DashboardLayout = ({ children }: { children: ReactNode }) => (
<BaseLayout>
<DashboardLayoutStyle>{children}</DashboardLayoutStyle>
</BaseLayout>
);
export default DashboardLayout;