Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit bc77b55

Browse files
committed
apply readme changes
1 parent 6e16ce9 commit bc77b55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ webpackConfig.module.loaders: [
7878

7979
## Example
8080

81-
Imagine you have a file `~/my-project/src/component/MyComponent/component.scss` in your project with the following content:
81+
Imagine you have a file `~/my-project/src/component/MyComponent/myComponent.scss` in your project with the following content:
8282
```css
8383
.some-class {
8484
// some styles
@@ -91,7 +91,7 @@ Imagine you have a file `~/my-project/src/component/MyComponent/component.scss`
9191
}
9292
```
9393

94-
Adding the `typings-for-css-modules-loader` will generate a file `~/my-project/src/component/MyComponent/mycomponent.scss.d.ts` that has the following content:
94+
Adding the `typings-for-css-modules-loader` will generate a file `~/my-project/src/component/MyComponent/myComponent.scss.d.ts` that has the following content:
9595
```ts
9696
export interface IMyComponentScss {
9797
'some-class': string;
@@ -103,8 +103,8 @@ declare const styles: IMyComponentScss;
103103
export default styles;
104104
```
105105

106-
### using `namedExport`
107-
Using the `namedExport`-option the generated file will look as follow:
106+
### using `namedExport` with the `camelCase`-option
107+
Using the `namedExport` as well as the `camelCase` options the generated file will look as follow:
108108
```ts
109109
export const someClass: string;
110110
export const someOtherClass: string;

0 commit comments

Comments
 (0)