react-native-date-ranges icon indicating copy to clipboard operation
react-native-date-ranges copied to clipboard

Ability to hide the date selector

Open murtraja opened this issue 5 years ago • 3 comments

This allows library user to hide the date selector text and simply use the Date Picker by registering a ref and calling setModalVisible(true)

murtraja avatar Jul 09 '19 03:07 murtraja

#19

murtraja avatar Jul 09 '19 03:07 murtraja

Why is that, would you mind to describe the using condition?

pohsiu avatar Jul 09 '19 03:07 pohsiu

Sure, we use a picker which has several options like Today Yesterday Last 7 days This month Custom

And when user selects custom from the Picker, I would like to show the Modal and NOT render the Date Selector

murtraja avatar Jul 09 '19 03:07 murtraja