Skip to content

Commit f8da22c

Browse files
committed
cleanup
1 parent 2bd778d commit f8da22c

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ Then add it to your babel configuration:
2323
}
2424
```
2525

26-
## styled-components v4 beta
27-
28-
If you are using the styled-components v4 beta, you'll also need to use the beta version of this plugin:
29-
30-
```
31-
npm install --save-dev babel-plugin-styled-components@beta
32-
```
33-
34-
Older versions should technically work, but some of the bundle size reduction benefits are only realized with the newer code!
35-
3626
## Documentation
3727

3828
**The documentation for this plugin lives on [the styled-components website](https://www.styled-components.com/docs/tooling#babel-plugin)!**

test/no-tags/__snapshots__/index.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Named = styled(\'div\').withConfig({
99
const NamedWithInterpolation = styled(\'div\').withConfig({
1010
displayName: \'unknown__NamedWithInterpolation\',
1111
componentId: \'sc-2vipsm-1\'
12-
})([\'color:\', \';\'], color => props.color);
12+
})([\'color:\', \';\'], props => props.color);
1313
1414
const Wrapped = styled(Inner).withConfig({
1515
displayName: \'unknown__Wrapped\',

test/no-tags/example.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const Named = styled.div`
55
`
66

77
const NamedWithInterpolation = styled.div`
8-
color: ${color => props.color};
8+
color: ${props => props.color};
99
`
1010

1111
const Wrapped = styled(Inner)`

0 commit comments

Comments
 (0)