Skip to content

Commit

Permalink
docs(Usage): fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmfriedman committed Jan 24, 2018
1 parent f2844be commit 1d5ca40
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const MyComponent = props => (
}
```

### Using CSSModules
### Using CSS Modules

Just add your className. If you need to target a node that is not directly exposed by RMWC, you can use the global modifier in your CSS. In this example, you can target the inner wrapper of a DrawerHeader.

Expand Down Expand Up @@ -202,19 +202,19 @@ import { Card } from 'rmwc/Card';

{
/*
This is an example of a dark theme context.
All children with applicable styles will be switched to dark mode
*/
This is an example of a dark theme context.
All children with applicable styles will be switched to dark mode
*/
}
<Theme tag="div" use="dark">
<Card>...</Card>
</Theme>;

{
/*
This is an example of a dark theme prop.
Not all components support this, look at the docs to see which ones.
*/
This is an example of a dark theme prop.
Not all components support this, look at the docs to see which ones.
*/
}
<Card themeDark>...</Card>;
```

0 comments on commit 1d5ca40

Please sign in to comment.