UNPKG

alpha-version-dce-check-in-ui

Version:

UI for taking attendance and checking people in.

31 lines (30 loc) 936 B
/** * List of previous groups that can be selected. * @author Benedikt Arnarsson */ import React from 'react'; import CheckInUIProps from '../../../types/CheckInUIProps'; import MMDDYY from '../../../shared/types/MMDDYY'; type Props = { checkInProps: CheckInUIProps; occurrenceDate: MMDDYY; /** * Handler for when user has chosen which series to copy from (or chosen to * set up new series) * @param opts object containing all arguments * @param opts.seriesId the ID of the series to copy from (may be a new * seriesId) * @param opts.oldGroups the old groups to copy from (or empty array if * starting a new series)= */ onSelect: (opts: ({ isNewSeries: true; seriesId: number; } | { isNewSeries: false; seriesId: number; mmddyy: MMDDYY; })) => void; }; declare const SeriesList: React.FC<Props>; export default SeriesList;