Skip to content

Commit e0376a8

Browse files
committed
Fix CSS class name
1 parent b365d4d commit e0376a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ to allow valid CSS to be turned into React Native Stylesheet objects.
77
Example:
88

99
```css
10-
.my-class {
10+
.myClass {
1111
font-size: 18px;
1212
line-height: 24px;
1313
color: red;
@@ -43,8 +43,8 @@ import transform from "css-to-react-native-transform";
4343
// or const transform = require("css-to-react-native-transform").default;
4444

4545
transform(`
46-
.foo {
47-
color: #f00;
46+
.foo {
47+
color: #f00;
4848
}
4949
`); // => { foo: { color: "#f00" } }
5050
```

0 commit comments

Comments
 (0)