Skip to content

Commit

Permalink
docs: fine-tune markdown (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesenelir authored Nov 24, 2023
1 parent 9d88d2f commit ec5d66e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<div align="center">

A components collection for Web3.
A collection of components for Web3.

[![test status][github-action-image]][github-action-url] [![NPM version][npm-image]][npm-url]

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default () => {

## Connecting to the Blockchain

You can also connect certain UI components to the blockchain by importing the `EthereumProvider` from `@ant-design/web3-ethereum`. The following example demonstrates how to display an NFT image using the `NFTImage` component.
You can also connect certain UI components to the blockchain by importing the `EthereumProvider` from `@ant-design/web3-ethereum`. The following example demonstrates how to display an NFT image using the `NFTImage` component. In this example, you can request NFT data through the blockchain node service provided by [zan.top](https://zan.top/). All you need to do is pass the `address` and `tokenId` to the component.

```tsx | pure
import { EthereumProvider, createProvider, ZANJsonRpcProvider } from '@ant-design/web3-ethereum';
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default () => {

## 连接区块链

你也可以通过引入 `@ant-design/web3-ethereum` 中的 `EthereumProvider` 让一些 UI 组件中可以连接到区块链。比如下面的示例展示了通过 `NFTImage` 组件显示一个 NFT 图片,示例中通过 [zan.top](https://zan.top/) 提供的区块链节点服务可以请求 NFT 数据,你只需要向组件传入 `address``tokenId` 即可。
你也可以通过引入 `@ant-design/web3-ethereum` 中的 `EthereumProvider` 让一些 UI 组件可以连接到区块链。比如下面的示例展示了如何通过 `NFTImage` 组件显示一个 NFT 图片。示例中,通过 [zan.top](https://zan.top/) 提供的区块链节点服务可以请求 NFT 数据,你只需要向组件传入 `address``tokenId` 即可。

```tsx | pure
import { EthereumProvider, createProvider, ZANJsonRpcProvider } from '@ant-design/web3-ethereum';
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ group: Basic

# Theme

Ant Design Web3 is developed based on Ant Design, and you can set the theme of Ant Design Web3 by configuring [Ant Design's theme](https://ant.design/docs/react/customize-theme-cn).
Ant Design Web3 is developed based on Ant Design, and you can set the theme of Ant Design Web3 by configuring [Ant Design's theme](https://ant.design/docs/react/customize-theme).
2 changes: 1 addition & 1 deletion docs/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ hero:
description: 享受 Web3 的乐趣
actions:
- text: 开始使用
link: /guide
link: /zh-CN/guide
- text: GitHub
link: https://github.com/ant-design/ant-design-web3
features:
Expand Down

0 comments on commit ec5d66e

Please sign in to comment.