Skip to content

Commit

Permalink
update readme with styled-components
Browse files Browse the repository at this point in the history
  • Loading branch information
Agney committed Feb 29, 2020
1 parent fa88c8b commit 61fb32d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@

## Usage

Install from `npm` with `npm install @agney/playground` or `yarn add @agney/playground`
Install from `npm` with:

```
npm install styled-components @agney/playground
# OR
yarn add styled-components @agney/playground
```

Playground uses [styled-components](https://styled-components.com/) for styling.

```jsx
import Playground from "@agney/playground";
Expand Down Expand Up @@ -67,7 +75,7 @@ https://blog.agney.dev/introducing-playground/
## Applications

1. Add to static blogs to present your HTML, CSS or JavaScript code.
1. Allow users to change the code and see the output in real time. This could be big in educational articles and so.
1. Allow users to change the code and see the output in real time.

## API

Expand Down

0 comments on commit 61fb32d

Please sign in to comment.