This commit is contained in:
Sacha Weatherstone
2021-05-27 09:05:45 +10:00
parent e172382765
commit 58de82b8d7
21 changed files with 4451 additions and 179 deletions
+3 -2
View File
@@ -5,7 +5,8 @@ import { Br, Jp, Us } from 'react-flags-select';
import { Disclosure } from '@headlessui/react';
import { ChevronDownIcon, ChevronRightIcon } from '@heroicons/react/outline';
import { LanguageEnum, languageTemplate } from '../../../App';
import type { languageTemplate } from '../../../App';
import { LanguageEnum } from '../../../App';
export interface TranslationsProps {
language: LanguageEnum;
@@ -13,7 +14,7 @@ export interface TranslationsProps {
translations: languageTemplate;
}
const Translations = (props: TranslationsProps) => {
const Translations = (props: TranslationsProps): JSX.Element => {
return (
<Disclosure>
{({ open }) => (