import React, { useState } from 'react' import { Dialog } from '@jbrowse/core/ui' import { Tab, Tabs } from '@mui/material' import InterProScanPanel from './InterProScanDialog.tsx' import UserProvidedResultPanel from './UserProvidedDomainsDialog.tsx' import type { MsaViewModel } from '../../model.ts' export default function LaunchDomainViewDialog({ handleClose, model, }: { handleClose: () => void model: MsaViewModel }) { const [choice, setChoice] = useState(0) return ( { handleClose() }} open > { setChoice(val) }} > {choice === 0 ? ( ) : null} {choice === 1 ? ( ) : null} ) }