diff --git a/package.json b/package.json index 390ce28..f28279d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dates-picker", - "version": "1.0.3", + "version": "1.0.4", "description": "⚛️📆 Flexible React date range picker calendar with no dependencies.", "private": false, "homepage": "https://almogtavor.github.io/date-range-picker/", diff --git a/src/index.js b/src/index.js index 5fee672..33ec229 100644 --- a/src/index.js +++ b/src/index.js @@ -4,6 +4,8 @@ import "./index.css" import DateRangePicker from "./App" import * as serviceWorker from "./serviceWorker" +export { DateRangePicker } + function callbackFunction(dates) { console.log(`The range of dates that got picked is: ${dates.text}`) console.log(`The min date that got picked is: ${dates.minDate}`)