Code Monkey home page Code Monkey logo

Comments (4)

AriTheElk avatar AriTheElk commented on May 13, 2024 1

It's not fully documented yet, but you can view the 1.0.0 storybook here. It's still under heavy development, so if you have any questions or comments for us don't hesitate to reach out either on here or in our slack group

from hedron.

AriTheElk avatar AriTheElk commented on May 13, 2024

Thanks for the issue report! This is actually a bug, mdShift is not overriding smShift because the value for mdShift is 0, which is equal to no value. Since hedron thinks there's no value set for mdShift, it doesn't override smShift. A workaround for now would be to use a string value for mdShift.

Like this: https://www.webpackbin.com/bins/-KhYZwKLLE0C5JuNjHik

It's going to spit out a warning when you're in development mode (since it's expecting a number, not a string). But in production mode there will be no error (since PropTypes aren't used in production).

This issue is not present in hedron >1.0.0 (installable via hedron@next), since the shift property can accept strings, numbers, and objects.

from hedron.

0x80 avatar 0x80 commented on May 13, 2024

I was just playing around but it's good to know that the behavior I was expecting was correct. I will switch to 1.0 now, since that one seems to have a lot of improvements in general 👍

from hedron.

AriTheElk avatar AriTheElk commented on May 13, 2024

This was resolved via 1.0.0

from hedron.

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.