You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
二货机器人
0f83e0a4ee
|
5 years ago | |
---|---|---|
.circleci | 5 years ago | |
.github | 5 years ago | |
components | 5 years ago | |
docs | 5 years ago | |
scripts | 5 years ago | |
site | 5 years ago | |
tests | 5 years ago | |
typings | 5 years ago | |
.antd-tools.config.js | 6 years ago | |
.codecov.yml | 6 years ago | |
.depslintrc.js | 6 years ago | |
.editorconfig | 6 years ago | |
.eslintignore | 5 years ago | |
.eslintrc.js | 5 years ago | |
.gitignore | 6 years ago | |
.gitpod.yml | 6 years ago | |
.jest.js | 5 years ago | |
.jest.node.js | 5 years ago | |
.npmignore | 6 years ago | |
.prettierignore | 6 years ago | |
.prettierrc | 6 years ago | |
.stylelintrc.json | 6 years ago | |
.travis.yml | 6 years ago | |
AUTHORS.txt | 5 years ago | |
CHANGELOG.en-US.md | 5 years ago | |
CHANGELOG.zh-CN.md | 5 years ago | |
CNAME | 6 years ago | |
CODE_OF_CONDUCT.md | 6 years ago | |
LICENSE | 6 years ago | |
README-zh_CN.md | 5 years ago | |
README.md | 5 years ago | |
azure-pipelines.yml | 6 years ago | |
crowdin.yml | 6 years ago | |
index-with-locales.js | 5 years ago | |
index.js | 6 years ago | |
netlify.toml | 5 years ago | |
package.json | 5 years ago | |
renovate.json | 6 years ago | |
tsconfig.json | 5 years ago | |
tsconfig.test.json | 7 years ago | |
webpack.config.js | 5 years ago |
README.md
Ant Design
English | 简体中文
✨ Features
- An enterprise-class UI design system for web 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
IE / Edge |
Firefox |
Chrome |
Safari |
Opera |
Electron |
---|---|---|---|---|---|
IE9, IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
📦 Install
npm install antd
yarn add antd
🔨 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
See Use in TypeScript.
🌍 Internationalization
See i18n.
🔗 Links
- Home page
- Components
- Ant Design Pro
- Change Log
- rc-components
- Mobile UI
- Ant Design Icons
- Ant Design Colors
- Ant Design Pro Layout
- Ant Design Pro Blocks
- Dark Theme
- Landing Pages
- Motion
- Scaffold Market
- Developer Instruction
- Versioning Release Note
- FAQ
- CodeSandbox Template for bug reports
- Awesome Ant Design
- Customize Theme
⌨️ Development
Use Gitpod, a free online dev environment for GitHub.
Or clone locally:
$ 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 Development.
🤝 Contributing
Read our contributing guide and let's build a better antd together.
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! :)
If you are a collaborator, please follow our Pull Request principle to create a Pull Request by collaborator template.