import React from 'react'; import PropTypes from 'prop-types'; import { TabComponents } from '@ohif/ui'; // Tabs import { HotkeysPreferences } from './HotkeysPreferences'; import { WindowLevelPreferences } from './WindowLevelPreferences'; import { GeneralPreferences } from './GeneralPreferences'; const tabs = [ { name: 'Hotkeys', Component: HotkeysPreferences, customProps: {}, hidden: false, }, { name: 'General', Component: GeneralPreferences, customProps: {}, hidden: false, }, { name: 'Window Level', Component: WindowLevelPreferences, customProps: {}, hidden: true, }, ]; function UserPreferences({ hide }) { const customProps = { onClose: hide, }; return ; } UserPreferences.propTypes = { hide: PropTypes.func, }; export { UserPreferences };