mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-23 18:04:12 +08:00
An enterprise-class UI design language and React UI library
722b24b813
First of all, thank you for your contribution! :-) Please makes sure that these checkboxes are checked before submitting your PR, thank you! * [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`. * [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd). * [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style. * [x] Rebase before creating a PR to keep commit history clear. * [x] Add some descriptions and refer relative issues for you PR. Extra checklist: **if** *isBugFix* **:** * [x] Make sure that you add at least one unit test for the bug which you had fixed. **elif** *isNewFeature* **:** * [ ] Update API docs for the component. * [ ] Update/Add demo to demonstrate new feature. * [ ] Update TypeScript definition for the component. * [ ] Add unit tests for the feature. tslint检测时报错 类型“IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<{ children?: ReactNode; }> & Read...”上不存在属性“disabled”。 |
||
---|---|---|
.github | ||
components | ||
docs | ||
scripts | ||
site | ||
tests | ||
typings | ||
.codecov.yml | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.jest.js | ||
.jest.node.js | ||
.stylelintrc | ||
.travis.yml | ||
AUTHORS.txt | ||
CHANGELOG.en-US.md | ||
CHANGELOG.zh-CN.md | ||
CODE_OF_CONDUCT.md | ||
index-with-locales.js | ||
index.js | ||
LICENSE | ||
netlify.toml | ||
package.json | ||
README-zh_CN.md | ||
README.md | ||
tsconfig.json | ||
tsconfig.test.json | ||
tslint.json | ||
webpack.config.js |
Ant Design
An enterprise-class UI design language and React-based implementation.
3.0 Released Now! 🎉🎉🎉
Features
- An enterprise-class UI design system for desktop applications.
- A set of high-quality React components out of the box.
- Written in TypeScript with predictable static types.
- The whole package of development and design resources and tools.
Environment Support
Let's build a better antd together
Read our contributing guide.
Install
npm install antd --save
Usage
import { DatePicker } from 'antd';
ReactDOM.render(<DatePicker />, mountNode);
And import style manually:
import 'antd/dist/antd.css'; // or 'antd/dist/antd.less'
Or import components on demand
TypeScript
Internationalization
See i18n.
Links
- Home page
- Components
- Ant Design Pro
- Change Log
- Scaffold Market
- rc-components
- Mobile UI
- Motion
- Developer Instruction
- Versioning Release Note
- FAQ
- CodeSandbox Template for bug reports
- Awesome Ant Design
- Customize Theme
Development
$ git clone git@github.com:ant-design/ant-design.git
$ cd ant-design
$ npm install
$ npm start
Open your browser and visit http://127.0.0.1:8001 , see more at https://github.com/ant-design/ant-design/wiki/Development .
Contributing
We welcome all contributions. Please read our CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, check out the Development Instructions and have a good time! :)