You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+30-30Lines changed: 30 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,8 +76,8 @@ yarn add @rocketseat/unform
76
76
Unform exposes two default form elements: `<Input />` and `<Select />`. Currently, `<Select />` element does not support multiple values, you can use [React Select](#react-select) example to achieve that.
77
77
78
78
```js
79
-
importReactfrom"react";
80
-
import { Form, Input } from"@rocketseat/unform";
79
+
importReactfrom'react';
80
+
import { Form, Input } from'@rocketseat/unform';
81
81
82
82
functionApp() {
83
83
functionhandleSubmit(data) {
@@ -86,7 +86,7 @@ function App() {
86
86
/**
87
87
* {
88
88
* email: 'email@example.com',
89
-
* password: "123456"
89
+
* password: '123456'
90
90
* }
91
91
*/
92
92
};
@@ -111,8 +111,8 @@ Unform exposes two elements by default, Input and Select.
111
111
Input elements can receive a `multiline` prop that will render a textarea instead.
_Optional_: Here you can set what the initial data for each field will be, you store the initial field values into a variable and load it in the `Form` using the prop `initialData`.
0 commit comments