Skip to content

Commit baf8694

Browse files
typo fix in docs
1 parent a3aea7a commit baf8694

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/configurable-imports.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ the emotion babel plugin can handle two types of import renaming.
66
## Dynamic
77

88
```js
9-
import something, { css as cows } from 'emotion';
9+
import something, { css as cows } from 'react-emotion';
1010

1111
const classes = cows`
1212
color: red;
@@ -39,7 +39,7 @@ styled-jsx application. When compiling the following file with emotion
3939
and styled-jsx.
4040

4141
```js
42-
import styled, { css } from "emotion";
42+
import styled from "react-emotion";
4343

4444
export default () => (
4545
<div>
@@ -61,7 +61,7 @@ outputs.
6161
```js
6262
import _JSXStyle from "styled-jsx/style";
6363
import { css as _css } from "emotion";
64-
import styled, { css } from "emotion";
64+
import styled from "react-emotion";
6565

6666
export default (() => <div data-jsx={2648947580}>
6767
<p data-jsx={2648947580}>only this paragraph will get the style :)</p>
@@ -91,7 +91,7 @@ We can avoid re-compiling the `css` props from styled-jsx.
9191

9292
```js
9393
import _JSXStyle from "styled-jsx/style";
94-
import styled, { css } from "emotion";
94+
import styled, { css } from "react-emotion";
9595

9696
export default (() => <div data-jsx={2648947580}>
9797
<p data-jsx={2648947580}>only this paragraph will get the style :)</p>

0 commit comments

Comments
 (0)