GithubHelp home page GithubHelp logo

react-native-range-datepicker's People

Contributors

adriantravelio avatar apaajabolehd avatar austinhunt avatar hendranugroho avatar mboettcher avatar tahmidrahman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-range-datepicker's Issues

One Enhancement(Select single date)

Hi,

I am working on one user story in which i have a requirement of Date Range and Single Date. If you can target single date also then it will be very helpful.

Thanks :)

Not able to get startdate and untildate

<DatepickerRange
startDate= {this.props.startDate}
untilDate= {this.props.endDate}
dayHeadings= {['S', 'M', 'T', 'W', 'T', 'F', 'S']}
maxMonth= {12}
buttonColor= 'green'
showReset= {true}
showClose= {true}
onClose= {this.props.toggleModal}
onConfirm= {({startDate, untilDate}) => console.log("dates are ", startDate)}
placeHolderStart= 'Check-in Date'
placeHolderUntil= 'Check-out Date'
selectedBackgroundColor= 'green'
selectedTextColor= 'white'
todayColor= 'green'
/>

this statement is logging when i am selecting date ==> 'dates are ', undefined.

Any Suggestions ?

"Select Date" Button at bottom of the modal

Instead of having the button at the bottom of the screen. The button is all the way at the bottom of the scrollview (past all the months). Any help is greatly appreciated. Thanks.

Support Maximum range from min month

Hey, i am wondering is it possible to support a max month limit after selecting min month.

Let's say, right now it is April 9, we could have a rangeLimit to be 30 days.
The maximum could be selected is May 9. The user could select any date from April 9 to May 9.

Thanks for making this lib public!

Translation

Is it possible to translate the component in other language than english ? Does it exist a prop to change the language ?

Add date style

Hi,
great module .... is possible add a new priperty like "dateTextStyle" for format start and end date?
Now I can't change or add other style property.
Thanks in advance

Can we have next and previous arrows for months ?

Usually we need next and previous arrows to switch between months.

Is it possible right now instead of showing months as a list?

This is one of the best control and easy to setup that combines single date picker with range picker.
Thanks

How can I choose the first day of week ?

Hello,

Is it possible to set the first day of week like (react-dates)[https://github.com/airbnb/react-dates] from airbnb ?

firstDayOfWeek: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6]),

Actually I would like to start the week on Monday :)

Thank you for your help

availableDates is not that useful

I think that having a prop for unavailableDates dates would be way more useful as this is typically the format being provided for server. Even providing a custom component for the date may be useful to exclude dates with a particular styling.

SingleDatepicker shows no button

Single date shows no confirm button and the props aren't following the color schemes i've applied.

<SingleDatepicker
dayHeadings={['S', 'M', 'T', 'W', 'T', 'F', 'S']}
maxMonth={12}
showClose={true}
onClose={() => {}}
onSelect={() => {}}
showReset={false}
showClose={false}
selectedBackgroundColor={'green'}
selectedTextColor={'white'}
buttonColor={'green'}
buttonContainerStyle={{marginLeft: 40, marginRight: 40, backgroundColor: 'black'}}
todayColor={'orange'}
infoStyle={{color: '#fff', fontSize: 13}}
infoContainerStyle={{marginRight: 20, paddingHorizontal: 20, paddingVertical: 5, backgroundColor: 'green', borderRadius: 20, alignSelf: 'flex-end'}}/>

update proptypes

update proptypes so it can be use in latest version of react native.

Wrong Dates

I dont know if i am using the DatePicker in right way or not . Here is the result .
when i try to get date it give some number which i am unable to understand
screen shot 2018-07-02 at 8 07 22 pm
screen shot 2018-07-02 at 8 07 11 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.