Radium is a set of tools to manage inline styles on [tag:reactjs] elements. It gives you powerful styling capabilities without CSS.
Questions tagged [radium]
44 questions
0
votes
1 answer
radium not installing found 3337 high severity vulnerabilities
I'm trying to install radium in react for inline pseudo classes or elements to add in my application but it is showing 3337 high severity vulnerabilities?
what the solution of that, i can use classes and ids for styling but i want to use inline…

Muhammad Aqib
- 31
- 6
0
votes
1 answer
Problem with Radium while updating react from 15.4.1 to 16.8.6
While I am updating my React app from version 15.4.1 to React 16.8.6 I get the error
Cannot read property 'object' of undefined at Object../node_modules/radium/lib/components
How do i fix this error
var Style = _react2.default.createClass({
28 |…

Ram Budha
- 180
- 1
- 11
0
votes
1 answer
cannot style nested div with radium
I currently have a nested div which currently contains a react component called react-mobile-picker. Unfortunately there is no styling option to style it, see link:
https://www.npmjs.com/package/react-mobile-picker
Therefore, i have installed radium…

Raziel
- 1,448
- 2
- 17
- 35
0
votes
0 answers
Storybook: Static build assets are not loading
I am building storybook. When trying to load the resulting files, I get this error.
manager.43f5b3475a944261b3fa.bundle.js:formatted:19449 Uncaught (in promise) TypeError: Cannot read property 'children' of undefined
at resolveStyles…

user3613955
- 61
- 3
0
votes
0 answers
word-wrap: break-word doesn't work in IE 11 & FF 57 with ReactJS & RadiumJS
I've been searching the web for a solution to this problem but couldn't find any info for this. Hope someone here will know what )'m talking about.
The problem is with IE 11 & FireFox 56
Im using ReactJs for View.
Im using RadiumJs for inline…

Tamiross
- 21
- 1
- 4
0
votes
1 answer
Vendor prefixes are glued together in Radium
I'm using Radium to inline my styles in a simple React app, but somehow Radium is compiling the vendor prefixes one after the other:
import Radium from 'radium'
import React from 'react'
const styles = {
base: {
width: 'calc(100% -…
user900362
0
votes
1 answer
React App using Radium fails to compile due to StyleRoot in App component
My App has failed to compile based on the following error:
./src/App.js
Syntax error: Unexpected token (12:2)
10 | class App extends Component {
11 |
> 12 |
| ^
13 |
14 |
15 |…

Codenami
- 31
- 1
- 10
0
votes
1 answer
Shadow DOM retargeting and Radium :hover
I ran into this issue while using React inside a Shadow DOM. I've been using a setup similar to this to handle event retargeting.
https://github.com/LukasBombach/react-shadow-dom-retarget-events/blob/master/index.js
Radium ':hover' doesn't work when…

Michael Fox
- 491
- 5
- 15
0
votes
0 answers
Mediaqueries don't work in Radium
I use Radium Style component to change default-style of React-Slick. I do everything like they write in tutorial and styles are changing, but media queries don't work.