Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
crashmax-dev committed Oct 13, 2022
1 parent 9e09a9b commit 3a64825
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ pnpm add twallpaper

You can play with `twallpaper` on [twallpaper.js.org](https://twallpaper.js.org)

<p align="left">
<a href="https://codesandbox.io/s/twallpaper-typescript-example-1hwedw?fontsize=14&hidenavigation=1&theme=dark">
<img alt="Edit twallpaper-typescript-example" src="https://img.shields.io/badge/TypeScript-informational?label=CodeSandbox&style=flat&logo=CodeSandbox&logoColor=ffffff&color=2286f7">
</a>
<a href="https://codesandbox.io/s/twallpaper-react-example-sl2sy0?fontsize=14&hidenavigation=1&theme=dark">
<img alt="Edit twallpaper-react-example" src="https://img.shields.io/badge/React-informational?label=CodeSandbox&style=flat&logo=CodeSandbox&logoColor=ffffff&color=2286f7">
</a>
</p>

## Usage (vanilla)

<!-- MARKDOWN-AUTO-DOCS:START (CODE:src=./.github/markdown-autodocs/usage.js) -->
Expand All @@ -81,6 +72,10 @@ wallpaper.init()
```
<!-- MARKDOWN-AUTO-DOCS:END -->

<a href="https://codesandbox.io/s/twallpaper-typescript-example-1hwedw?fontsize=14&hidenavigation=1&theme=dark">
<img alt="Edit twallpaper-typescript-example" src="https://codesandbox.io/static/img/play-codesandbox.svg">
</a>

## React

```sh
Expand All @@ -107,6 +102,10 @@ export function App() {
```
<!-- MARKDOWN-AUTO-DOCS:END -->

<a href="https://codesandbox.io/s/twallpaper-react-example-sl2sy0?fontsize=14&hidenavigation=1&theme=dark">
<img alt="Edit twallpaper-react-example" src="https://codesandbox.io/static/img/play-codesandbox.svg">
</a>

## Using CDN
```html
<!-- JSDelivr -->
Expand Down

0 comments on commit 3a64825

Please sign in to comment.