Giter Site home page Giter Site logo

netyouli / react-native-whc-calendar Goto Github PK

View Code? Open in Web Editor NEW
28.0 4.0 10.0 492 KB

A react native module to show calendar, it works on iOS and Android. 跨平台日历组件支持iOS、Android

Home Page: https://github.com/netyouli/react-native-whcapp

License: MIT License

JavaScript 86.10% Python 3.41% Java 2.77% Objective-C 7.71%
react react-native whc calendar whc-calendar react-native-whc-calendar

react-native-whc-calendar's People

Contributors

netyouli 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

Watchers

 avatar  avatar  avatar  avatar

react-native-whc-calendar's Issues

我使用Demo运行正常但复制到项目里运行就出现了问题,React Native版本5.1

在Demo里日历可以正常显示,但是在自己的项目里就会显示不出来,如果我改变天数,并使用热加载刷新,页面才会刷新出来!,代码是完全模仿的Demo

render() {
        const {
            choiceDate,
            block,
        } = this.props.navigation.state.params;
        return (
            <Calendar
                startDateStr={choiceDate}
                days={30}
                enableSingleChoice={true}
                onSelectedDateBlock={(s, e) => {
                    block(s);
                    Alert.alert('选择的日期: ' + s);
                    setTimeout(() => {
                        const {goBack} = this.props.navigation;
                        goBack();
                    }, 1000);
                }}/>
        );
    }

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.