mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
73e541911b
* refactor: rewrite header by FunctionComponent * refactor: rewrite footer by FunctionComponent * fix: strong type * refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent * style: formatting * pref: add useCallback/useMemo * refactor: use typescript refactor javascript * fix: remove string * fix: fix eslint
10 lines
145 B
TypeScript
10 lines
145 B
TypeScript
interface CNLocale {
|
|
locale: 'zh-CN';
|
|
messages: {
|
|
[key: PropertyKey]: string;
|
|
};
|
|
}
|
|
|
|
const cnLocale: CNLocale;
|
|
export default cnLocale;
|