diff --git a/h/static/scripts/group-forms/components/CreateEditGroupForm.tsx b/h/static/scripts/group-forms/components/CreateEditGroupForm.tsx index 3045e585bf8..4b314475283 100644 --- a/h/static/scripts/group-forms/components/CreateEditGroupForm.tsx +++ b/h/static/scripts/group-forms/components/CreateEditGroupForm.tsx @@ -4,11 +4,17 @@ import { Button, CancelIcon, Input, + RadioGroup, Textarea, useWarnOnPageUnload, } from '@hypothesis/frontend-shared'; import { readConfig } from '../config'; -import { callAPI, CreateUpdateGroupAPIResponse } from '../utils/api'; +import { callAPI } from '../utils/api'; +import type { + CreateUpdateGroupAPIRequest, + CreateUpdateGroupAPIResponse, + GroupType, +} from '../utils/api'; import { setLocation } from '../utils/set-location'; import SaveStateIcon from './SaveStateIcon'; @@ -41,16 +47,18 @@ function CharacterCounter({ } function Label({ + id, htmlFor, text, required, }: { - htmlFor: string; + id?: string; + htmlFor?: string; text: string; required?: boolean; }) { return ( -