Outline the new implementation logic with a few tests
Implement the DateInput React component