mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-27 01:06:28 +08:00

* 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;
|