feat: schedule button

This commit is contained in:
karishmas6
2024-09-10 03:17:11 +05:30
parent a5f26c7e31
commit 0ba0c35034

View File

@@ -223,3 +223,19 @@ const InterpretButton = ({ handleInterpret }: InterpretButtonProps) => {
</IconButton>
)
}
interface ScheduleButtonProps {
handleSchedule: () => void;
}
const ScheduleButton = ({ handleSchedule }: ScheduleButtonProps) => {
return (
<IconButton
aria-label="schedule"
size="small"
onClick={handleSchedule}
sx={{ '&:hover': { color: '#1976d2', backgroundColor: 'transparent' } }}>
<Assignment />
</IconButton>
);
};