Files
web2.0-frontend/src/views/admin/AdminListCommon.tsx
T
2021-06-03 02:14:33 +03:00

33 lines
605 B
TypeScript

import React from "react";
import styled from "styled-components";
import colors from "@theme/colors";
import AdminPageWrapper from "@views/common/AdminPageWrapper";
const Main = styled.div`
table {
border-collapse: collapse;
}
table,
th,
td {
border: 1px solid ${colors.white};
padding: 0.5rem;
a {
color: ${colors.orange1};
text-decoration: underline;
}
}
`;
const AdminListCommon: React.FC = ({ children }) => (
<AdminPageWrapper requiresAuthentication>
<Main>
{children}
</Main>
</AdminPageWrapper>
);
export default AdminListCommon;