mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-19 00:41:03 +08:00
9 lines
257 B
TypeScript
9 lines
257 B
TypeScript
import { createContext } from 'react';
|
|
import type { Locale } from '.';
|
|
|
|
export type LocaleContextProps = Partial<Locale> & { exist?: boolean };
|
|
|
|
const LocaleContext = createContext<LocaleContextProps | undefined>(undefined);
|
|
|
|
export default LocaleContext;
|