[Question] What is the best way to use Rheostat in other component ?
See original GitHub issueI want to use Rheostat and react-dates in a shared component (a library) but it require initialize step: import 'rheostat/initialize';
.
I have some questions:
- Where I should put the initialize script ? in the component or in app use the component ?
- How can I change a little bit styles in component and allow the app override that styles if need ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
How do I give connections to a rheostat? - Quora
Initially connect regulated power supply (DC) +ve terminal to terminal-B of rheostat and -ve terminal to A-terminal. Then connect +ve terminal of load...
Read more >3.27 How to use a Rheostat? - YouTube
0:00 - How do Rheostats work ? 1:08 - Calculation example 2:55 - Different types of variable resistors 3:35 - Explaining example 5:14 ......
Read more >A Complete Guide to Rheostats - RS Components
Read this comprehensive guide on rheostats, explaining what they are, their uses, how they work, the different types, and how they differ from ......
Read more >9 Facts On Rheostat:What,Symbol,Types,Applications
It is a three-terminal device, of which two are usable. There is a slider as a moving terminal, and only one is usable...
Read more >Potentiometer, Preset Potentiometers and Rheostats
Electronics Tutorial about the Potentiometer, Preset Potentiometer and Rheostat which are all variable resistors used to control a voltage.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ljharb yes. Thank for you support.
I think that’d depend on the mechanism you chose to allow overriding of the wrapping component - without css-in-js, everything has to be inline styles or class names, and rheostat doesn’t use that mechanism 😕