Handle "no body" case

This commit is contained in:
Gregory Schier
2023-03-20 13:49:21 -07:00
parent bb139744a1
commit a938dc45f0
4 changed files with 12 additions and 11 deletions

View File

@@ -5,12 +5,12 @@ import { Icon } from './Icon';
export interface RadioDropdownItem {
label: string;
value: string;
value: string | null;
}
export interface RadioDropdownProps {
value: string;
onChange: (bodyType: string) => void;
value: string | null;
onChange: (value: string | null) => void;
items: RadioDropdownItem[];
children: DropdownProps['children'];
}