Skip to content

Commit

Permalink
Add tax threshold monitoring component (#197)
Browse files Browse the repository at this point in the history
* add Tax Threshold Monitoring component

* prettier is running with different config
  • Loading branch information
cmochrie-stripe authored Jan 7, 2025
1 parent faa1f6f commit fd75efa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export type ConnectElementHTMLName =
| "stripe-connect-documents"
| "stripe-connect-tax-registrations"
| "stripe-connect-tax-settings"
| "stripe-connect-tax-threshold-monitoring"
| "stripe-connect-balances"
| "stripe-connect-payouts-list"
| "stripe-connect-app-install"
Expand Down Expand Up @@ -66,6 +67,7 @@ export const componentNameMapping: Record<
documents: "stripe-connect-documents",
"tax-registrations": "stripe-connect-tax-registrations",
"tax-settings": "stripe-connect-tax-settings",
"tax-threshold-monitoring": "stripe-connect-tax-threshold-monitoring",
balances: "stripe-connect-balances",
"payouts-list": "stripe-connect-payouts-list",
"app-install": "stripe-connect-app-install",
Expand Down
3 changes: 3 additions & 0 deletions types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,5 +354,8 @@ export const ConnectElementCustomMethodConfig = {
_listener: (({ id }: { id: string }) => void) | undefined
): void => {},
setDisplayCountries: (_countries: string[] | undefined): void => {}
},
"tax-threshold-monitoring": {
setDisplayCountries: (_countries: string[] | undefined): void => {}
}
};
1 change: 1 addition & 0 deletions types/shared.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ export type ConnectElementTagName =
| "documents"
| "tax-registrations"
| "tax-settings"
| "tax-threshold-monitoring"
| "balances"
| "payouts-list"
| "app-install"
Expand Down

0 comments on commit fd75efa

Please sign in to comment.