-
Is this possible to add jss plugins without re-exporting whole `styled-jss` module?
-
If component have `displayName` like this `hoc(Component)` JSS can't insert rule into css
```scss
Warning: [JSS] Can not insert an unsupported rule
.withStyles(Typography)-6-0-1 {
flex: 1;
}…
-
Calling LTTB on some GTS can produce a duplicate datapoint in the beginning.
Steps to reproduce:
```
NEWGTS
0 1200
FOR
1000 LTTB
```
Result: {"c":"","l":{},"a":{},"v":[[**500,1**],[**500…
-
This package is dependent on `is-react-prop` which isn't (currently) compatible with React 16. Do you have plans to remediate this? Is there a timeframe for this?
-
Why do this not work :-) ? I am used to do so in other styled component libs :-) ?
https://www.webpackbin.com/bins/-Kqj9we_BMAsxT1ISrUc
thupi updated
7 years ago
-
Is this possible with `styled-jss`?
```js
const AuthorName = styled('div')({...})
const Avatar = styled('img')({...})
const Message = styled('div')({
[`&:not(:first-child) ${AuthorName}`]: {
…
-
Getting this with flow:
![image](https://cloud.githubusercontent.com/assets/12100/22495472/a0ebbf2a-e7f5-11e6-8498-9115b6363e0b.png)
in types.js.flow
natew updated
6 years ago
-
CSSOM .insertRule has 2 limitations:
1. you can't see the CSS in dev tools in elements view in the style tag
1. props are not editable in dev tools in chrome
We can fix that by using text nodes…
-
We created a new package https://github.com/cssinjs/styled-jss
-
hi! my idea was that the translations can be specified per-component, that is, in component A I can do
```
import I18n from 'react-native-i18n'
I18n.translations = {
en: {
aaaa: 'aaaa',
…