Comments (5)
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.
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.
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.
Sounds good. Would you like me to kick this off with a PR?
from react-view.
That would be great. Thanks!
from react-view.
Related Issues (20)
- Allow 'code inside the return statement' to be returned instead of whole code
- Add support for numeric literal types
- IE11 support? HOT 1
- docs: Advance examples HOT 1
- build: Not able to server render. HOT 3
- Nested dependency is packaged and published through github which is a potential security risk HOT 2
- Dependency version issue HOT 3
- Latest version v2.3.4 in registry.npmjs.org is different from v2.3.4 release in github HOT 1
- How to change the theme? HOT 2
- Does not work with latest Next.js HOT 5
- Would you consider supporting multiple statements? HOT 2
- Option to disable editing in Editor
- useView doesn't work in next js HOT 10
- Can't resolve 'fs'. in next js@11 HOT 1
- Missing Undefined check in React.useState()
- On useView knobProps don't change if config change
- Support for TypeScript code snippets with knobs HOT 1
- Boolean props that default to undefined canβt be explicitly set to false
- Can't resolve 'linguist-languages/data/JavaScript' in Next 12.2.3
- React useRef hook code not generated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-view.