Skip to content

Commit

Permalink
[Beta] Add tax components (#111)
Browse files Browse the repository at this point in the history
* feat: tax

Add `tax-settings` and `tax-registrations` component

* fix: prettier

* formatting

* remove node version file
  • Loading branch information
kevinpeters-stripe authored Apr 19, 2024
1 parent aff6d1d commit 73bb593
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export type ConnectElementHTMLName =
| "stripe-connect-financial-account"
| "stripe-connect-financial-account-transactions"
| "stripe-connect-capital-overview"
| "stripe-connect-documents";
| "stripe-connect-documents"
| "stripe-connect-tax-registrations"
| "stripe-connect-tax-settings";

export const componentNameMapping: Record<
ConnectElementTagName,
Expand All @@ -44,7 +46,9 @@ export const componentNameMapping: Record<
"financial-account-transactions":
"stripe-connect-financial-account-transactions",
"capital-overview": "stripe-connect-capital-overview",
documents: "stripe-connect-documents"
documents: "stripe-connect-documents",
"tax-registrations": "stripe-connect-tax-registrations",
"tax-settings": "stripe-connect-tax-settings"
};

type StripeConnectInstanceExtended = StripeConnectInstance & {
Expand Down
4 changes: 3 additions & 1 deletion types/shared.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,4 +460,6 @@ export type ConnectElementTagName =
| "financial-account"
| "financial-account-transactions"
| "capital-overview"
| "documents";
| "documents"
| "tax-registrations"
| "tax-settings";

0 comments on commit 73bb593

Please sign in to comment.