wojtekmaj/react-daterange-picker

Export types

Opened this issue · 1 comments

The library ships with types.ts but it is not exported in index.ts
It would be really helpful if they're exported, mainly: Value.

We have two use cases for it:

  1. we're storing the date range in state and we need to provide a type to useState
  2. we're pass the date range to a function and we need to add types to the params

We currently have a type that mimics Value, but it would be ideal if we can use the type from the library.