diff --git a/src/components/RoundActionButtons.tsx b/src/components/RoundActionButtons.tsx index 5fb6bc7..d765315 100644 --- a/src/components/RoundActionButtons.tsx +++ b/src/components/RoundActionButtons.tsx @@ -1,5 +1,10 @@ import { type ActivityWithParent } from '../lib/domain/types'; +import { Recipes } from '../lib/recipes'; import Button from '@mui/material/Button'; +import MenuItem from '@mui/material/MenuItem'; +import Select from '@mui/material/Select'; +import FormControl from '@mui/material/FormControl'; +import InputLabel from '@mui/material/InputLabel'; import { type Person } from '@wca/helpers'; interface RoundActionButtonsProps { @@ -9,6 +14,9 @@ interface RoundActionButtonsProps { activityCode: string; onConfigureAssignments: () => void; onGenerateAssignments: () => void; + recipeId: string; + onChangeRecipeId: (recipeId: string) => void; + onRunRecipe: () => void; onConfigureStationNumbers: (activityCode: string) => void; onConfigureGroups: () => void; onResetAll: () => void; @@ -23,6 +31,9 @@ export const RoundActionButtons = ({ activityCode, onConfigureAssignments, onGenerateAssignments, + recipeId, + onChangeRecipeId, + onRunRecipe, onConfigureStationNumbers, onConfigureGroups, onResetAll, @@ -42,6 +53,22 @@ export const RoundActionButtons = ({ <> + + Recipe + + +