Add antd.

This commit is contained in:
Yang Luo
2020-10-20 22:06:49 +08:00
parent 49d84c1c2c
commit bb06e55d8d
4 changed files with 596 additions and 21 deletions

View File

@ -1,24 +1,11 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import {Button} from "antd";
function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<Button type="primary">Button</Button>
</div>
);
}