Skip to content

Commit baa17d0

Browse files
committed
Typo
1 parent 5f70ccb commit baa17d0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
## Motivation
1414

1515
Styling components is a critical point when we decide to develop in React.
16-
There are a lot of ways in which we can do this but all of these have pro and cons.
16+
There are a lot of ways in which we can do this but all of these have pros and cons.
1717
In some situations this means having a strong connection with the source code, that is not so good.
1818
With ReactCSSOM we have tried to develop a system that allows us to separate `js` and `css`.
1919

@@ -25,7 +25,7 @@ Using ReactCSSOM means:
2525
- No limitations to CSS power
2626
- Easy to use with CSS Preprocessors (no more stuff needed)
2727
- Highly expressive
28-
- Lightweight, only 100 lines of js
28+
- Lightweight, only 88 lines of js
2929

3030
## Installation
3131

@@ -127,9 +127,7 @@ export default class Button extends React.Component {
127127
}
128128
`}
129129
</style>
130-
<button
131-
className={this.props.primary ? styles.primary : styles.default}
132-
>
130+
<button>
133131
Click me
134132
</button>
135133
</div>

0 commit comments

Comments
 (0)