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 6e4fdbf commit 81d6fe0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/RadixUI/RadixThemes/RadixButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ fileprivate struct RadixButton: ButtonStyle {
}
}

extension Button {
extension View {
public func radixButton() -> some View {
self.buttonStyle(
RadixButton()
)
self.buttonStyle(RadixButton())
}
}

0 comments on commit 81d6fe0

Please sign in to comment.