Skip to content

Commit 031528f

Browse files
committed
Docs.
1 parent 6cf09a8 commit 031528f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Travis build status](http://img.shields.io/travis/gajus/react-css-modules/master.svg?style=flat)](https://travis-ci.org/gajus/react-css-modules)
44
[![NPM version](http://img.shields.io/npm/v/react-css-modules.svg?style=flat)](https://www.npmjs.org/package/react-css-modules)
55

6-
Seamless CSS modules for React.
6+
Seamless mapping of class names to CSS modules inside of React components.
77

88
## What's the Problem?
99

@@ -109,6 +109,8 @@ export default CSSModules(Car, styles);
109109

110110
Thats it!
111111

112+
### Options
113+
112114
## SASS, SCSS, LESS and other CSS Preprocessors
113115

114116
[ICSS](https://github.com/css-modules/icss) is compatible with the CSS Preprocessors. All you need is to add the preprocessor to the chain of loaders, e.g. in the case of webpack it is as simple as installing `sass-loader` and adding `!sass` to the end of the `style-loader` loader chain declaration (loaders are processed from right to left):

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-css-modules",
3-
"description": "Seamless CSS modules for React.",
3+
"description": "Seamless mapping of class names to CSS modules inside of React components.",
44
"main": "dist/index.js",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)