Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 38ccf0b

Browse files
committed
Update Button.php
1 parent 7801875 commit 38ccf0b

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/FormBuilder/Button.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,6 @@ class Button extends Component
1717

1818
protected string $type = 'button';
1919

20-
/**
21-
* Set the @click="..."
22-
*
23-
* @return $this
24-
*/
25-
public function click(string $value): self
26-
{
27-
$this->attributes['@click'] = $value;
28-
29-
return $this;
30-
}
31-
32-
/**
33-
* Set the @click.prevent="..."
34-
*
35-
* @return $this
36-
*/
37-
public function clickPrevent(string $value): self
38-
{
39-
$this->attributes['@click.prevent'] = $value;
40-
41-
return $this;
42-
}
43-
4420
/**
4521
* Applies danger-styling to the button
4622
*

0 commit comments

Comments
 (0)