Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add calls to transaction component docs #1314

Merged

Conversation

mykcryptodev
Copy link
Contributor

What changed? Why?
Describe how to pass "calls" to the component because it currently only demonstrates how to pass "contracts"

Notes to reviewers
This change is documentation-only

How has it been tested?
Manually viewed it on my local instance of the docs.

Copy link

vercel bot commented Sep 27, 2024

Someone is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Sep 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 8:03pm
onchainkit-routes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 27, 2024 8:03pm


Here's an example of how to use the `calls` prop with the Transaction component:

```tsx
Copy link
Contributor

@alessey alessey Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you add twoslash it'll enable twoslash for this block, you can use // @Noerrors 123 to suppress any errors you don't want to resolve for the example

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alessey good call! now using twoslash 🫡

@fakepixels fakepixels merged commit d962887 into coinbase:main Oct 2, 2024
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants