修改了Readme
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
import { Input } from "antd";
|
||||
import React, { Component } from "react";
|
||||
class Inputsmall extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.state = {
|
||||
describe: "#",
|
||||
placeholder: "请输入你的名字",
|
||||
};
|
||||
}
|
||||
render() {
|
||||
return (
|
||||
<div>
|
||||
<span style={{ marginRight: "1%" }}>{this.state.describe}</span>
|
||||
<span>
|
||||
<Input
|
||||
style={{ width: "20%" }}
|
||||
placeholder={this.state.placeholder}
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
export default Inputsmall;
|
||||
Reference in New Issue
Block a user