Skip to content

Commit

Permalink
Update RadixButton.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
amirsaam committed Oct 20, 2024
1 parent 99f8d64 commit f687df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RadixUI/RadixThemes/RadixButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fileprivate struct RadixButton: ButtonStyle {
}
}

extension Button {
extension Button where Label == AnyView {
public func radixButton() -> some View {
self.buttonStyle(RadixButton())
}
Expand Down

0 comments on commit f687df0

Please sign in to comment.