Browse Source

Update 'README.md'

天问 1 year ago
parent
commit
abe299090a
1 changed files with 20 additions and 1 deletions
  1. 20 1
      README.md

+ 20 - 1
README.md

@@ -1,3 +1,22 @@
 # ant-design
 # ant-design
 
 
-An enterprise-class UI design language and React UI library
+An enterprise-class UI design language and React UI library
+
+## Usage
+```
+yarn add antd
+
+
+import React from 'react';
+import { Button, DatePicker } from 'antd';
+
+const App = () => (
+  <>
+    <Button type="primary">PRESS ME</Button>
+    <DatePicker />
+  </>
+);
+```
+
+
+