mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
1719748a29
* chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx
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;
|