mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
cefb7b29f2
* Upgrade locale context * fix logic * fix lint * add context ignore in test case
7 lines
200 B
TypeScript
7 lines
200 B
TypeScript
import { createContext } from 'react';
|
|
import { Locale } from '.';
|
|
|
|
const LocaleContext = createContext<(Partial<Locale> & { exist?: boolean }) | undefined>(undefined);
|
|
|
|
export default LocaleContext;
|