Skip to content

Commit

Permalink
Update tailwind-css.md (#23028)
Browse files Browse the repository at this point in the history
CSS-in-JS section was referring to `Styled Components`, but in reality, it was using `Emotion`. I updated the documentation to reflect that.

Co-authored-by: gatsbybot <[email protected]>
  • Loading branch information
alejandronanez and gatsbybot authored Apr 13, 2020
1 parent f9929be commit 74114a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/tailwind-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ To learn more about how to use Tailwind in your CSS, visit the [Tailwind Documen

### Option #2: CSS-in-JS

These steps assume you have a CSS-in-JS library already installed, and the examples are based on Styled Components.
These steps assume you have a CSS-in-JS library already installed, and the examples are based on Emotion.

1. Install Tailwind Babel Macro

Expand Down Expand Up @@ -108,7 +108,7 @@ npm install tailwind.macro
2. Use the Babel Macro (`tailwind.macro`) in your styled component
```javascript
import styled from "styled-components"
import styled from "@emotion/styled"
import tw from "tailwind.macro"
// All versions
Expand Down

0 comments on commit 74114a4

Please sign in to comment.