Git Product home page Git Product logo

Comments (5)

bmcmahen avatar bmcmahen commented on September 15, 2024

Good catch. This should be an easy fix. I'll look into it tomorrow.

from panza.

META-DREAMER avatar META-DREAMER commented on September 15, 2024

Just tried out the latest commit, it seemed to have broken something in the Base component because having a panza component anywhere causes these errors:

Warning: Failed propType: Invalid props.style key `color` supplied to `View`.
Bad object: {
  "paddingLeft": 16,
  "paddingRight": 16
}
Valid keys: [
  "width",
  "height",
  ...
] Check the render method of `Base`.
Warning: Failed propType: Invalid props.style key `color` supplied to `RCTView`.
Bad object: {
  "paddingLeft": 16,
  "paddingRight": 16
}
Valid keys: [
  "width",
  "height",
  ...
] Check the render method of `View`.

PS. Excellent work so far on this library! RN really needs something like what the web has with Bootstrap, this seems like an awesome solution.

from panza.

bmcmahen avatar bmcmahen commented on September 15, 2024

Can you try against the latest master again? I've made a few changes to the colour functions which may have been broken and are (hopefully) now fixed. Oh, and glad you're finding the library useful! Thanks for helping me find some of these bugs.

from panza.

META-DREAMER avatar META-DREAMER commented on September 15, 2024

Yup, latest version seems to be working beautifully! Thanks! I'm going to be using this in my app so as I get more familiar with and and get ideas for improvements I'll make some pull requests :)

from panza.

bmcmahen avatar bmcmahen commented on September 15, 2024

Awesome! Feedback and PRs would be great. I'm open to any suggestions -- in particular, with respect to the scope of this project (which components we should include), and with the behaviour of the Base function (which props are transformed into styles, & how the global config overrides some of these styles).

from panza.

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.