diff --git a/Sources/RadixUI/RadixThemes/RadixButton.swift b/Sources/RadixUI/RadixThemes/RadixButton.swift index 1ae0275..9f730a8 100644 --- a/Sources/RadixUI/RadixThemes/RadixButton.swift +++ b/Sources/RadixUI/RadixThemes/RadixButton.swift @@ -16,7 +16,7 @@ fileprivate struct RadixButton: ButtonStyle { } } -extension Button { +extension Button where Label == AnyView { public func radixButton() -> some View { self.buttonStyle(RadixButton()) }