Skip to content

Commit

Permalink
[docs][pigment-css] Fix typo globalCSS -> globalCss (#43754)
Browse files Browse the repository at this point in the history
Co-authored-by: ZeeshanTamboli <[email protected]>
  • Loading branch information
hiro0218 and ZeeshanTamboli authored Sep 17, 2024
1 parent a676453 commit 4a07424
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ const mainClass = css({

#### Creating global styles

Use the `globalCSS` API to define global styles to load across an entire app.
Use the `globalCss` API to define global styles to load across an entire app.

You should define these at the top level of your JavaScript file:

```js
import { globalCSS } from '@pigment-css/react';
import { globalCss } from '@pigment-css/react';

globalCss`
body {
Expand Down

0 comments on commit 4a07424

Please sign in to comment.