Skip to content

Commit f7335f8

Browse files
committed
Update README.md
1 parent 7bfa926 commit f7335f8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,8 @@ export default {
3939
<h1>Basic Form</h1>
4040
<div class="wrapper">
4141
<div class="form">
42-
<Form handleSubmit={this.handleSubmit}>
43-
<Input name="username" placeholder="Username" />
44-
<br />
45-
<br />
46-
<Button nativeType="reset">Reset</Button>
47-
<Button nativeType="submit" type="primary">
48-
Save
49-
</Button>
42+
<Form reset submit="Save" labelPosition="top" handleSubmit={this.handleSubmit}>
43+
<Input formItem name="username" label="Username" />
5044
</Form>
5145
</div>
5246
<div class="values">

0 commit comments

Comments
 (0)