OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)
This commit is contained in:
11
app/Views/Templates/components/button.blade.php
Normal file
11
app/Views/Templates/components/button.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
@props([
|
||||
'link' => '#',
|
||||
'type' => 'primary',
|
||||
'tag' => 'a',
|
||||
])
|
||||
|
||||
<{{ $tag }} {{ $attributes->merge([
|
||||
'class' => 'btn btn-' . $type
|
||||
] + ($tag == 'a' ? ['href' => $link] : [])) }}>
|
||||
{{ $slot }}
|
||||
</{{ $tag }}>
|
||||
Reference in New Issue
Block a user