UNPKG

@reactseed/template-antd-i18n

Version:

React seed ant design and i18n template for creating react app

9 lines (7 loc) 241 B
import React from 'react'; import { config } from '@/configs'; import { TConfigContext } from '@/typings'; export const ConfigContext = React.createContext<TConfigContext>({ language: config.language, setLanguage: language => null, });