Skip to content

Commit 3dd0519

Browse files
committed
Fix formatting
1 parent 22cd611 commit 3dd0519

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pages/docs/react/latest/styling.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ The above `Style.make` API will safely type check every style field! However, we
3333

3434
```reason
3535
let myStyle = ReactDOM.Style.make(~color="#444444", ~fontSize="68px", ());
36+
```
3637

3738
## Global CSS
3839

39-
Use a `%%raw()` expression to import CSS files within your ReScript / React component code:
40+
Use a `%%raw` expression to import CSS files within your ReScript / React component code:
4041

4142
```rescript
43+
// in a CommonJS setup
4244
%%raw("require('./styles/main.css')")
4345
4446
// or with ES6

0 commit comments

Comments
 (0)