Files
einundzwanzig-portal/resources/views/vendor/comments/components/button.blade.php
Benjamin Takats 840f79e7fc book cases added
2022-12-07 14:57:15 +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>