ant-design/components/locale-provider/context.ts

7 lines
200 B
TypeScript
Raw Normal View History

import { createContext } from 'react';
import { Locale } from '.';
const LocaleContext = createContext<(Partial<Locale> & { exist?: boolean }) | undefined>(undefined);
export default LocaleContext;