rn-nepali-datepicker

1.0.3 • Public • Published

rn-nepali-datepicker

Nepali Datepicker

Installation

npm install rn-nepali-datepicker

Usage

import React, {useState} from 'react'
import {View, Text, StyleSheet} from 'react-native'
import DatePicker from "rn-nepali-datepicker";

const MyComponent=()=> {
  const [date, setDate] = useState('')
 //..
    return(
      // ...
      <View>
        <DatePicker 
          dateFormat='%D, %M %d, %y' 
          onDateChange={(text)=>setDate(text)} 
          selectedDefaultDate='yyyy-mm-dd' 
          fromDate='yyyy-mm-dd' toDate='yyyy-mm-dd' 
          edit={boolean}/>
      </View>
    )
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i rn-nepali-datepicker

    Weekly Downloads

    7

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    49.3 kB

    Total Files

    9

    Last publish

    Collaborators

    • siddhant21