docs: 📝 Update README

This commit is contained in:
偏右 2020-05-16 21:48:33 +08:00 committed by GitHub
parent d4874fc0b3
commit 2268c7aa88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ import { Button, DatePicker } from 'antd';
const App = () => (
<>
<Button type="primary">PRESS ME</Button>
<DatePicker />
<DatePicker placeholder="select date" />
</>
);
```
@ -101,11 +101,11 @@ import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
### TypeScript
See [Use in TypeScript](https://ant.design/docs/react/use-in-typescript).
`antd` is written in TypeScript with complete definitions, check [Use in TypeScript](https://ant.design/docs/react/use-in-typescript) to getting started.
## 🌍 Internationalization
See [i18n](https://ant.design/docs/react/i18n).
Dozens of languages supported in `antd`, see [i18n](https://ant.design/docs/react/i18n).
## 🔗 Links