Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 06d9842

Browse files
jbmussogregberge
authored andcommitted
docs: fix globalStyle doc (#56)
1 parent 6d2ee75 commit 06d9842

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

β€Ždocs/GettingStarted.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Even if it is not required, is recommended to apply a global normalize before us
3737
import { injectGlobal } from 'styled-components'
3838
import { globalStyle } from '@smooth-ui/core-sc'
3939

40-
injectGlobal`${globalStyle}`
40+
injectGlobal`${globalStyle()}`
4141
```
4242

4343
If you don't want to use a global normalize, at least add `* { box-sizing: border-box; }`.

β€Ždocs/basics/Emotion.mdxβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Even if it is not required, is recommended to apply a global normalize before us
3636
import { injectGlobal } from 'react-emotion'
3737
import { globalStyle } from '@smooth-ui/core-em'
3838

39-
injectGlobal`${globalStyle}`
39+
injectGlobal`${globalStyle()}`
4040
```
4141

4242
If you don't want to use a global normalize, at least add `* { box-sizing: border-box; }`.

0 commit comments

Comments
Β (0)