Skip to content

Commit 2fe769c

Browse files
committed
Readme update
1 parent 4cfe14a commit 2fe769c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ $ yarn add riec
1818

1919
### Minimal example
2020

21-
Here you can see a minimal example.
22-
23-
RIEC is a controlled component.
21+
Here you can see a minimal example:
2422

2523
```jsx
2624
import React, { useState } from 'react'
@@ -42,7 +40,7 @@ const App = () => {
4240
}
4341
```
4442

45-
Of the over 20 props you can use, only 2 are mandatory:
43+
RIEC is a controlled component. Only two props are mandatory:
4644

4745
- `value`: a `string` representing the initial value, updated by the onChange function
4846
- `onChange`: a function of value, which is supposed to update value upon success

0 commit comments

Comments
 (0)