From e39fd30198b9768011c7c0074aaa6ffff15c5094 Mon Sep 17 00:00:00 2001 From: lissavxo Date: Fri, 31 Jan 2025 16:00:41 -0300 Subject: [PATCH] docs:update advanced usage --- docs/README.md | 112 +++++++++++++++++++++++++++++-------------- docs/zh-cn/README.md | 108 +++++++++++++++++++++++++++-------------- docs/zh-tw/README.md | 108 +++++++++++++++++++++++++++-------------- 3 files changed, 219 insertions(+), 109 deletions(-) diff --git a/docs/README.md b/docs/README.md index d54c44a2..549146e4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -29,47 +29,83 @@ Example using JavaScript to generate a PayButton:
``` @@ -115,7 +151,9 @@ render( '#advanced-usage-example', { onTransaction: myTransactionFunction, onOpen: myOpenFunction, onClose: myCloseFunction, - randomSatoshis: true + randomSatoshis: true, + hideToasts: true, + opReturn: '' }) // render 'react' button diff --git a/docs/zh-cn/README.md b/docs/zh-cn/README.md index 6d0c24fe..da62938a 100644 --- a/docs/zh-cn/README.md +++ b/docs/zh-cn/README.md @@ -29,47 +29,83 @@
``` diff --git a/docs/zh-tw/README.md b/docs/zh-tw/README.md index 1c08188a..c45348e8 100644 --- a/docs/zh-tw/README.md +++ b/docs/zh-tw/README.md @@ -29,47 +29,83 @@
```