|
|
@ -1,13 +1,13 @@ |
|
|
|
import React, {useEffect, useState} from 'react' |
|
|
|
import React, { useEffect, useState } from 'react' |
|
|
|
import {FormattedMessage} from 'react-intl' |
|
|
|
import { FormattedMessage } from 'react-intl' |
|
|
|
import {LocaleModule} from '../../types/locale-module' |
|
|
|
import { LocaleModule } from '../../types/locale-module' |
|
|
|
import './remix-ui-locale-module.module.css' |
|
|
|
import './remix-ui-locale-module.module.css' |
|
|
|
|
|
|
|
|
|
|
|
export interface RemixUiLocaleModuleProps { |
|
|
|
export interface RemixUiLocaleModuleProps { |
|
|
|
localeModule: LocaleModule |
|
|
|
localeModule: LocaleModule |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export function RemixUiLocaleModule({localeModule}: RemixUiLocaleModuleProps) { |
|
|
|
export function RemixUiLocaleModule({ localeModule }: RemixUiLocaleModuleProps) { |
|
|
|
const [localeCode, setLocaleCode] = useState('') |
|
|
|
const [localeCode, setLocaleCode] = useState('') |
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|