Coder Social home page Coder Social logo

Comments (8)

ashachakrapani avatar ashachakrapani commented on July 17, 2024 3

Thanks Alan, it was a feature I needed for my application. I have pretty much the same implementation in place to toggle the visibility of the component already. I was only wondering if the component itself had an attribute that would handle it.

from react-daterange-picker.

AlanFoster avatar AlanFoster commented on July 17, 2024 2

I've thrown together a quick code code sandbox demonstrating this functionality:

example

The sandbox code can be found here - https://codesandbox.io/s/0xv5m04yql

Let me know if there's any issues 👍

from react-daterange-picker.

AlanFoster avatar AlanFoster commented on July 17, 2024

@harrybabu Hi sorry for the belated response; What is your use case? Could you say specifically what parts you want to hide / show?

from react-daterange-picker.

RusAlex avatar RusAlex commented on July 17, 2024

Suppose he @harrybabu meant to show hide picker completely. I also met this, as usually other datepickers has built-in show/hide picker functional.

Does authors think it's not component responsibility ?

from react-daterange-picker.

ashachakrapani avatar ashachakrapani commented on July 17, 2024

Is there a way/prop to show/hide the component i.e the calendar as a whole?

from react-daterange-picker.

AlanFoster avatar AlanFoster commented on July 17, 2024

@ashachakrapani Is this functionality needed within this component library directly, or can you implement it within your own React application?

from react-daterange-picker.

AlanFoster avatar AlanFoster commented on July 17, 2024

This example project can now be found within the project's read me file: https://github.com/onefinestay/react-daterange-picker#getting-started

from react-daterange-picker.

AlanFoster avatar AlanFoster commented on July 17, 2024

Closing this off, let me know if you're still having difficulties and we can reopen this if need be 👍

from react-daterange-picker.

Related Issues (20)

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.