pandiaraj44 / react-native-datepicker-dialog

This library provides the cross-platform components for to open the date picker dialogs in effective way. It uses the native DatePickerAndroid & DatePickerIOS components. It will work for both ios & android.
MIT License
44 stars 15 forks source link

Date picker in functional components #20

Open rozzz333 opened 4 years ago

rozzz333 commented 4 years ago

Hello

As you know functional components don't support 'ref' feature How can i use this library in functional components?

pandiaraj44 commented 3 years ago

@rozzz333 With the use of "useRef" hook we can replace 'ref'. https://dev.to/danielpdev/complete-useref-hook-with-live-code-examples-20ep

We will check and add the functional component support.