Skip to content

Commit

Permalink
docs: updat README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Miaonster committed Apr 1, 2022
1 parent 55b5cbf commit 1b5b5e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ class Code extends Taro.Component {
}
```

## Props
## Components

### Barcode


| Prop | Type | Default |
| ----------------- | -------- | --------- |
| `text` | `string` | `''` |
Expand All @@ -67,6 +68,10 @@ class Code extends Taro.Component {
| `foregroundColor` | `string` | `#000000` |
| `backgroundColor` | `string` | `#FFFFFF` |

### ImageProps

除了上述的属性外,还支持 [ImageProps](https://taro-docs.jd.com/taro/docs/components/media/image/#imageprops) 的所有属性, 例如 `showMenuByLongpress` 等。

## Screenshot

![screenshot](./assets/screenshot.png)

0 comments on commit 1b5b5e2

Please sign in to comment.