1.0.3 • Published 2 years ago

react-native-date-time-merge-input v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

react-native-date-time-merge-input

react-native-date-time-merge-input is a plugin to merge both date and time at ease, thus increasing flexibility to use any where in the component. in this component we can also pass text style in params.

Getting started

$ npm install react-native-date-time-merge-input --save

$ yarn add react-native-date-time-merge-input

To use this dependency in your project, the following packages are needed. 1. 'react' 2. 'react-native'

Mostly automatic installation

Usage (Example of react-native-date-time-merge-input )

import React, {Component} from 'react';
import {View} from 'react-native';
import DTMergeInput from 'react-native-date-time-merge-input';
/*
    npm install react-native-date-time-merge-input
*/

export default class App extends Component{
    constructor(props){
        super();
    }
    render(){
        return (
       <View>
           <DTMergeInput getValue ={(e)=> 
           console.log(e);
           }/>
        </View>
        );
    }
}


// TODO: What to do with the module?
DTMergeInput;

required Props and its datatypes :

required Props and its datatypes :

  1. style : any text styles
  2. mode : "date", "date-time"
  3. value : value of input
  4. getValue : funtion()

Credit goes to :

  1. 'react'
  2. 'react-native'

Contribution :

if you like my work 😀 u can contribute using vpa : krishna.santho08@okaxis

it will be a great support to me ☺.

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago