Home > other >  How to modify the antd paging in the inside of each page a drop-down menu page text
How to modify the antd paging in the inside of each page a drop-down menu page text

Time:09-16




CodePudding user response:


Antd internationalization to achieve

CodePudding user response:

Antd internationalization, inside pages in the form of page:

The import {Card, Table, ConfigProvider} from 'antd';
The import zhCN from 'antd/es/locale/zh_CN';//zhCN assignment below in Chinese language pack.

ConfigProvider is a component that requires a locale property, can define a inside the state, enclosing the state={locale: zhCN};

Blue screen into PE can't see the C disk partition capacity also open disk C solution
  • Related