From beb69f81c6e644e4a527bf27850c3ed3900b5be9 Mon Sep 17 00:00:00 2001 From: Wing <1587315093@qq.com> Date: Wed, 22 Nov 2023 18:44:58 +0800 Subject: [PATCH] docs: update --- README.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 28618dc..e8cfbb3 100644 --- a/README.MD +++ b/README.MD @@ -24,7 +24,7 @@ $ pnpm install scratch-card-react | children | 刮开蒙层显示的底部元素 | `ReactNode` | - | | coverColor | 刮刮卡蒙版的颜色 | `string` | `#ddd` | | coverImg | 刮刮卡蒙版的图片 | `string \| Promise` | - | -| callbackInfo | 刮开一定比例触发的回调信息 | `{ callback:()=>void,radio:number }` | - | +| callbackInfo | 刮开一定比例触发的回调信息 | `{ callback:()=>void,ratio:number }` | - | | width | 刮刮卡宽度 | `number` | `240` | | height | 刮刮卡高度 | `number` | `120` |