import React from 'react'; import { ApplicationType } from 'app/components/dev/apps'; import { MessageDescriptor } from 'react-intl'; import { SKIN_LIGHT } from 'app/components/ui'; import { Radio } from 'app/components/ui/form'; import styles from './applicationTypeSwitcher.scss'; export default function ApplicationTypeSwitcher({ setType, appTypes, selectedType, }: { appTypes: { [K in ApplicationType]: MessageDescriptor; }; selectedType: ApplicationType | null; setType: (type: ApplicationType) => void; }) { return (