mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +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;
|