How can I use the callback method?
This is the call of the component:
//This is the Parent Component const [selectedDateState, setSelectedDateState] =