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

Added an attribute to represent the button types. #69

Merged
merged 3 commits into from
Jun 1, 2021
Merged

Added an attribute to represent the button types. #69

merged 3 commits into from
Jun 1, 2021

Conversation

daveverwer
Copy link
Contributor

No description provided.

@@ -297,6 +297,22 @@ public extension Attribute where Context == HTML.InputContext {
}
}

public extension Attribute where Context == HTML.ButtonContext {
Copy link
Owner

Choose a reason for hiding this comment

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

Is this needed, given that a button can only contain Node instances, not Attribute ones?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Fixed in 98c2a48.

@daveverwer daveverwer requested a review from JohnSundell June 1, 2021 14:48
@JohnSundell JohnSundell merged commit 0320a8d into JohnSundell:master Jun 1, 2021
@daveverwer daveverwer deleted the button-type branch June 1, 2021 15:56
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