import { Card, Grid, Container } from '@mui/material';
import { useParams } from 'react-router-dom';
import HeaderBreadcrumbs from '../../../components/HeaderBreadcrumbs';
import Page from '../../../components/Page';
import useSettings from '../../../hooks/useSettings';
import List from './List';

export default function Organizations() {
  const { themeStretch } = useSettings();

  const { id } = useParams();

  const pageTitle = 'Rumah Sakit';
  return (
    <Page title={pageTitle}>
      <Container maxWidth={themeStretch ? false : 'xl'}>
        <HeaderBreadcrumbs
          heading={pageTitle}
          links={[
            {
              name: 'Master',
              href: '/master',
            },
            {
              name: 'Rumah Sakit',
              href: '/master/hospitals',
            },
          ]}
        />

        <List />
      </Container>
    </Page>
  );
}
