From 1b5b5e20b64655f5488a13e296ccc7b8a7b26129 Mon Sep 17 00:00:00 2001 From: miaonster Date: Fri, 1 Apr 2022 20:25:55 +0800 Subject: [PATCH] docs: updat README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c823b9d..222216f 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,11 @@ class Code extends Taro.Component { } ``` -## Props +## Components ### Barcode + | Prop | Type | Default | | ----------------- | -------- | --------- | | `text` | `string` | `''` | @@ -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)