mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
[SM-660] move sm-no-items to CL (#5059)
* refactor: move sm-no-items to CL * update and run prettier * apply code review
This commit is contained in:
16
libs/components/src/no-items/no-items.component.html
Normal file
16
libs/components/src/no-items/no-items.component.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div
|
||||
class="tw-mx-auto tw-flex tw-flex-col tw-items-center tw-justify-center tw-pt-6 tw-text-center"
|
||||
>
|
||||
<div class="tw-max-w-sm">
|
||||
<bit-icon [icon]="icon" aria-hidden="true"></bit-icon>
|
||||
<h3 class="tw-font-semibold">
|
||||
<ng-content select="[slot=title]"></ng-content>
|
||||
</h3>
|
||||
<p>
|
||||
<ng-content select="[slot=description]"></ng-content>
|
||||
</p>
|
||||
</div>
|
||||
<div class="tw-space-x-2">
|
||||
<ng-content select="[slot=button]"></ng-content>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user