import React from 'react';
import { RouteComponentProps } from '@reach/router';
import { AdminItems } from 'components/navbar/navbar-items';
import { ModuleWrapper } from 'components/module-wrapper/module-wrapper';

export const Admin: React.FC<RouteComponentProps> = () => (
  <ModuleWrapper
    navbarItems={AdminItems}
    defaultContent="user-administration"
  />
);
