Skip to content

Commit

Permalink
[docs] Add codesandbox example for styled-components (mui#25050)
Browse files Browse the repository at this point in the history
  • Loading branch information
jony89 authored Feb 22, 2021
1 parent fc916f9 commit b7e3026
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/create-react-app-with-styled-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ npm install
npm start
```

or:
## CodeSandbox

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/mui-org/material-ui/tree/HEAD/examples/create-react-app-with-styled-components)
Note that CodeSandbox is not supporting react-app-rewired, yet you can [still see the code](https://codesandbox.io/s/github/mui-org/material-ui/tree/HEAD/examples/create-react-app-with-styled-components).

The following link leverages this demo: https://next.material-ui.com/guides/interoperability/#change-the-default-styled-engine with Parcel's alias feature within the `package.json`

[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/styled-components-interoperability-w9z9d)

## The idea behind the example

Expand Down

0 comments on commit b7e3026

Please sign in to comment.