Skip to content

Commit 9f09bbd

Browse files
Add the ability to specify attributes to button component
1 parent bbfc1dc commit 9f09bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/components/button.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function openWidget() {
1717
}
1818
</script>
1919

20-
<button type="button" onclick="openWidget()">
20+
<button type="button" onclick="openWidget()" {{ $attributes }}>
2121
{{ $slot }}
2222
</button>
2323

0 commit comments

Comments
 (0)