Skip to content

Commit

Permalink
definition for the remove all observations sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillipsOwen committed May 6, 2024
1 parent e561cb9 commit ae04250
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/components/trays/observations/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from 'react';
import { Stack } from '@mui/joy';
import { ClearAll as RemoveObservationsIcon} from '@mui/icons-material';

// import the component that will do the observation removal from state
import { RemoveObservations } from "./removeObservations";

// get an icon for the tray
export const icon = <RemoveObservationsIcon />;

// create a title for this tray element
export const title = 'Remove observations';

/**
* render the removal component
*
* @returns {JSX.Element}
*/
export const trayContents = () => (
<Stack gap={ 2 } p={ 2 }>
<RemoveObservations />
</Stack>
);

0 comments on commit ae04250

Please sign in to comment.