mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
ea9b013bb1
* chore: prefer using @internal annotation over other markups * fix: typo * fix: locale types
9 lines
248 B
TypeScript
9 lines
248 B
TypeScript
import { createContext } from 'react';
|
|
import type { Locale } from '.';
|
|
|
|
export type LocaleContextProps = Locale & { exist?: boolean };
|
|
|
|
const LocaleContext = createContext<LocaleContextProps | undefined>(undefined);
|
|
|
|
export default LocaleContext;
|