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

Remove tag names so that developers can create components freely #25

Closed
wants to merge 1 commit into from

Conversation

jojo-stripe
Copy link
Contributor

No description provided.

@jojo-stripe jojo-stripe changed the title Remove tag names so that developers can add attributes freely Remove tag names so that developers can create components freely May 24, 2023
Copy link
Contributor

@slye-stripe slye-stripe left a comment

Choose a reason for hiding this comment

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

Leaving some thoughts here: I think we should not get rid of the typed parameter. For developers using Typescript, keeping it is more helpful. Also, this should ideally map 1:1 to the components we expose in our React wrappers. If developers want to create an internal component, they can just override the type, e.g. as any.

@jojo-stripe
Copy link
Contributor Author

Leaving some thoughts here: I think we should not get rid of the typed parameter. For developers using Typescript, keeping it is more helpful. Also, this should ideally map 1:1 to the components we expose in our React wrappers. If developers want to create an internal component, they can just override the type, e.g. as any.

This is a good point, I'll close this PR

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.

2 participants