diff --git a/password/ui/components/PwdButton.swift b/password/ui/components/PwdButton.swift index 7c2db48..9abe8e6 100644 --- a/password/ui/components/PwdButton.swift +++ b/password/ui/components/PwdButton.swift @@ -97,3 +97,33 @@ enum ButtonSize { } } } + +#Preview { + VStack { + + PwdButton( + label: Text("Click me!"), + variant: .primary, + action: {} + ) + + PwdButton( + label: Text("Click me!"), + variant: .secondary, + action: {} + ) + + PwdButton( + label: Text("Click me!"), + variant: .outline, + action: {} + ) + + PwdButton( + label: Text("Click me!"), + variant: .ghost, + action: {} + ) + + }.padding() +}