Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

cskillingstad-stripe
Copy link
Contributor

Summary & motivation

  • Add Tax ID Element React types

API review

Copy this template or link to an API review issue.

API Review

Testing & documentation

Copy link

@ssablan-stripe ssablan-stripe left a comment

Choose a reason for hiding this comment

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

I love the JS Doc comments

Comment on lines 849 to 854
onLoadError?: (event: {elementType: 'address'; error: StripeError}) => any;

/**
* Triggered when the [loader](https://stripe.com/docs/js/elements_object/create#stripe_elements-options-loader) UI is mounted to the DOM and ready to be displayed.
*/
onLoaderStart?: (event: {elementType: 'address'}) => any;
Copy link
Contributor

Choose a reason for hiding this comment

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

Should these elementTypes be taxId?

Comment on lines 834 to 839
onChange?: (event: stripeJs.StripeAddressElementChangeEvent) => any;

/**
* Triggered when the Element is fully rendered and can accept imperative `element.focus()` calls.
*/
onReady?: (element: stripeJs.StripeAddressElement) => any;
Copy link
Contributor

Choose a reason for hiding this comment

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

Same with these event/element types

@cskillingstad-stripe cskillingstad-stripe merged commit 0e24ddd into master Jul 22, 2025
2 checks passed
@cskillingstad-stripe cskillingstad-stripe deleted the cskillingstad/tide-react-types branch July 22, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants