Files
einundzwanzig-portal/resources/views/vendor/comments/components/button.blade.php
Benjamin Takats ce8f87db6f book cases added
2022-12-12 19:17:09 +01:00

13 lines
345 B
PHP

<button
type="{{ isset($submit) && $submit ? 'submit' : 'button' }}"
@class([
'comments-button',
'is-small' => isset($small) && $small,
'is-danger' => isset($danger) && $danger,
'is-link' => isset($link) && $link,
])
{{ $attributes->except('type', 'size', 'submit') }}
>
{{ $slot }}
</button>