diff --git a/README.md b/README.md index 70661e4..6e5f8e4 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ function App() { setCalendarValue(new Date(day))} + onChange={(e) => setCalendarValue(new Date(e.value))} /> ) diff --git a/package.json b/package.json index 753d597..d06512e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zaman", - "version": "2.1.0", + "version": "2.1.1", "description": "React component that helps you to makes simple Farsi/Jalali/Shamsi date picker. It also has range date picker you can select multiple days in multiple months.", "main": "dist/index.js", "scripts": {