Skip to content

Commit

Permalink
fix code snippet format in make-styles README
Browse files Browse the repository at this point in the history
  • Loading branch information
xugao committed Feb 12, 2021
1 parent d5a5a4f commit 47e86c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/make-styles/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ There is a separate API `makeStaticStyles` for this case.
It can be used to register styles object:
```jsx=
```ts
makeStaticStyles({
'@font-face': {
fontFamily: 'Open Sans',
Expand Down Expand Up @@ -111,13 +111,13 @@ makeStaticStyles({
Or string:
```jsx=
```ts
makeStaticStyles('body { background: red; } .foo { color: green; }');
```
Or array of styles object/string:
```jsx=
```ts
makeStaticStyles([
{
'@font-face': {
Expand Down

0 comments on commit 47e86c8

Please sign in to comment.