mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
site: update use-custom-date-library docs (#45350)
This commit is contained in:
parent
4ba6cfac45
commit
cd3e30e8df
@ -13,7 +13,7 @@ You might want to use another date library (**Ant design currently supports [mom
|
||||
|
||||
The first way is to use `generatePicker` (or `generateCalendar`) to help create Picker components.
|
||||
|
||||
First, we initialize an antd demo with `create-react-app`. You can refer to [Use in TypeScript](/docs/react/use-in-typescript), or you can start directly here [init antd](https://github.com/xiaohuoni/antd4-generate-picker/commit/47fec964e36d48bd15760f8f5abcb9655c259aa6)
|
||||
First, we initialize an antd demo with `create-react-app`. You can refer to [Usage with create-react-app](/docs/react/use-with-create-react-app), or you can start directly here [init antd](https://github.com/xiaohuoni/antd4-generate-picker/commit/47fec964e36d48bd15760f8f5abcb9655c259aa6)
|
||||
|
||||
### DatePicker.tsx
|
||||
|
||||
|
@ -11,7 +11,7 @@ Ant Design 默认使用 [Day.js](https://day.js.org) 来处理时间日期问题
|
||||
|
||||
第一种方法是使用 `generatePicker`(或 `generateCalendar`)辅助创建 Picker 组件。
|
||||
|
||||
我们先初始化一个 `create-react-app` 的 antd demo,你可以参考 [在 TypeScript 中使用](/docs/react/use-in-typescript) 进行构建,也可以直接从这里开始[init antd](https://github.com/xiaohuoni/antd4-generate-picker/commit/47fec964e36d48bd15760f8f5abcb9655c259aa6)
|
||||
我们先初始化一个 `create-react-app` 的 antd demo,你可以参考 [在 create-react-app 中使用](/docs/react/use-with-create-react-app-cn) 进行构建,也可以直接从这里开始[init antd](https://github.com/xiaohuoni/antd4-generate-picker/commit/47fec964e36d48bd15760f8f5abcb9655c259aa6)
|
||||
|
||||
### DatePicker.tsx
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user