react-native-dynamic-date-input

1.0.6 • Public • Published
  • A react native custom component of a dynamic date input with debounce for the final output and automatic focus for the next input., in typescript.

  • It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks. You can use it directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.

Example:

How to use:

import DateInput from 'react-native-dynamic-date-input';

   <DateInput
        onComplete={(text) => {
          console.log("date ", text);
        }}
      />

DateInput Props -

Name Type Default
onComplete (date: string) => void
viewStyle? ViewStyle
inputStyle? ViewStyle
inputDayProps? TextInputProps
inputMonthProps? TextInputProps
inputYearProps? TextInputProps
debounceDelay? number
onWrongInput? () => void

Package Sidebar

Install

npm i react-native-dynamic-date-input

Weekly Downloads

7

Version

1.0.6

License

ISC

Unpacked Size

112 kB

Total Files

9

Last publish

Collaborators

  • shelly_amabr