Files
meshtastic-web/src/components/Sidebar/Device/Index.tsx
T
2021-08-03 19:37:36 +10:00

21 lines
525 B
TypeScript

import React from 'react';
import { useTranslation } from 'react-i18next';
import { AdjustmentsIcon } from '@heroicons/react/outline';
import { Dropdown } from '../../basic/Dropdown';
import { Settings } from './Settings';
export const Device = (): JSX.Element => {
const { t } = useTranslation();
return (
<Dropdown
icon={<AdjustmentsIcon className="my-auto text-gray-600 mr-2 w-5 h-5" />}
title={t('settings.device')}
content={<Settings />}
fallbackMessage={'Loading...'}
/>
);
};