We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d4855 commit 5442bd4Copy full SHA for 5442bd4
src/Button.php
@@ -70,15 +70,15 @@ final class Button extends Widget
70
* ```php
71
* Button::link('Button', '/path/to/page');
72
* ```
73
- */
+ */
74
public static function link(
75
string|Stringable $label = '',
76
?string $url = null,
77
array $constructorArguments = [],
78
array $config = [],
79
?string $theme = null,
80
): self {
81
- return self::widget($constructorArguments, $config, $theme)->label($label)->type(ButtonType::LINK)->url($url);
+ return self::widget($constructorArguments, $config, $theme)->label($label)->type(ButtonType::LINK)->variant(ButtonVariant::LINK)->url($url);
82
}
83
84
/**
0 commit comments