Skip to content

Commit 183be7b

Browse files
committed
📝 Note breaking changes
1 parent 3793405 commit 183be7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ export default class App extends Component {
140140
</tr>
141141
</table>
142142

143+
## Breaking changes when porting to v1.0.0
144+
145+
`react-otp-input` is now a controlled component to facilitate functionalities that weren't possible before from the application using it, such as clearing or pre-assigning values. For `v1.0.0` and above, a `value` prop needs to be passed in the component for it function as expected.
146+
143147
## Development
144148

145149
To run the development server:

0 commit comments

Comments
 (0)