mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
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;
|