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

[Beta] Add tax components #111

Merged
merged 5 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Contributor

Choose a reason for hiding this comment

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

To confirm, there aren't any props on these components yes?

Copy link
Author

Choose a reason for hiding this comment

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

Yeah! No props!

"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";
Loading