Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
import changed
Browse files Browse the repository at this point in the history
  • Loading branch information
pramishp committed Oct 12, 2018
1 parent bbe3061 commit 0e1335a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Nepali-English Date conversion and Date Picker for Nepali React Native Developer
This is available only for android.

<p align="center">
<img width="300" height="550" src="https://raw.githubusercontent.com/pramishp/react-native-nepali-date/development/images/demo.jpg">
<img width="300" height="450" src="https://raw.githubusercontent.com/pramishp/react-native-nepali-date/development/images/demo.jpg">
</p>

## Getting started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void getTodayNepaliDate(Callback callback){

@Override
public String getName() {
return "NepaliCalender";
return "NepaliDatePicker";
}

@ReactMethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
package com.reactlibrary;

import java.util.Arrays;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import { NativeModules } from 'react-native';

const { RNNepaliDatePicker } = NativeModules;
// const { NepaliDatePicker } = NativeModules;

export default RNNepaliDatePicker;
export default NativeModules.NepaliDatePicker;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-nepali-date",
"version": "1.0.2",
"version": "1.0.6",
"description": "React Native Nepali date converter and date picker for android",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 0e1335a

Please sign in to comment.