Skip to content

Commit

Permalink
update: md example
Browse files Browse the repository at this point in the history
  • Loading branch information
aolyang committed Jan 2, 2025
1 parent bfd948d commit 8718a8e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/src/content/zh/docs/resources/icons.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
import ToolbarAllIcons from "@/components/page-index/ToolbarAllIcons"

# icons

import ToolbarAllIcons from "@/components/page-index/ToolbarAllIcons"
<ToolbarAllIcons />

## Toolbar All Icons
## Usage

```bash
pnpm i @tiptiz/icons
```

<ToolbarAllIcons />
```js
import { ediUndo, ediRedo } from "@tiptiz/editor-icons"
import { Icon } from "@mdi/react"

<Icon path={ediUndo} size={1} />
<Icon path={ediRedo} size={1} />
```

0 comments on commit 8718a8e

Please sign in to comment.