Giter VIP home page Giter VIP logo

Comments (3)

adrielklein avatar adrielklein commented on September 28, 2024 1

nevermind, figured out how to do this by just using

startDate={new Date('2019-06-10T00:00:00')} dateFormat={'dddd'}

however on another note it would be nice to have a small mode like this...
image

So i've opened up a PR for that

from react-schedule-selector.

bibekg avatar bibekg commented on September 28, 2024 1

Hi Adrien, thank you so much for pushing through with the PR! I apologize for replying so late, I've been neglecting maintaining this library as I was taking a bit of break from dev work for a while.

As for this feature, would you be able to use the renderDateCell prop to fit your use case instead? Although having a dedicated small mode may make sense, I hesitate to add flag-style props for styling things when it can be done using the existing render-prop pattern.

from react-schedule-selector.

adrielklein avatar adrielklein commented on September 28, 2024 1

Good idea @bibekg i havenโ€™t tried using the render prop. That seems like a better solution so I can close this for now and reopen if I have trouble with render props. Great job with the library

from react-schedule-selector.

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.