Giter VIP home page Giter VIP logo

Comments (5)

tajo avatar tajo commented on May 30, 2024

You need to implement your own components. We do it at baseweb.design.

However, I am open to make the basic ui components more customizable so you if you need small tweaks, you don't have to copy&paste everything over.

from react-view.

raunofreiberg avatar raunofreiberg commented on May 30, 2024

Thanks for the response. For now, I went with implementing my own components (knobs, specifically), which works well.

Although, there are some components that I wouldn't want to implement on my own. For example, I'd like to change the flex positioning of Compiler, or change the focus border color of Editor.

Compiler and Editor don't seem like the kind of components that anyone would implement any different from the library's either, so right now it's just causing duplication for projects that wish to make minor adjustments πŸ™‚


I think adding a few global class names for tweaking would suffice. Happy to help out with this, if necessary!

from react-view.

tajo avatar tajo commented on May 30, 2024

I think adding a few global class names for tweaking would suffice.

I would rather see an ability to pass down classNames which would get applied to those divs instead of inline styles (inline styles would be still used as a default option).

So for example, Compiler could be styled as:

<Compiler cx={{ root: "className-a", inner: "className-b" }} />

(compiler has two nested divs)

this way, you could also use CSS in JS libs to generate these classNames and avoid globals.

from react-view.

raunofreiberg avatar raunofreiberg commented on May 30, 2024

Sounds good. Would you like me to kick this off with a PR?

from react-view.

tajo avatar tajo commented on May 30, 2024

That would be great. Thanks!

from react-view.

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.