Skip to content

Commit

Permalink
Document CSS prop incompatibility with babel-plugin-transform-react-i…
Browse files Browse the repository at this point in the history
…nline-elements (#348)
  • Loading branch information
apostolos authored and Kye Hohenberger committed Sep 26, 2017
1 parent 60b4486 commit 243fcba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/css-prop.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ function SomeComponent (props) {
}

```

**Notes:**
- This feature requires the `"emotion"` babel plugin.
- CSS props are not compatible with babel's `"transform-react-inline-elements"` plugin. If you include it in your `.babelrc`, no transformation will take place and your styles will silently fail.

0 comments on commit 243fcba

Please sign in to comment.