mirror of
https://github.com/bitwarden/browser
synced 2026-03-02 19:41:26 +00:00
[CL-427] Add skeleton loading components to the CL (#16728)
This commit is contained in:
11
libs/components/src/skeleton/skeleton-text.component.html
Normal file
11
libs/components/src/skeleton/skeleton-text.component.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<div class="tw-w-full tw-flex tw-flex-col tw-gap-2">
|
||||
@for (line of this.linesArray(); track $index; let last = $last, first = $first) {
|
||||
<bit-skeleton
|
||||
class="tw-h-3"
|
||||
[ngClass]="{
|
||||
'tw-w-full': first || !last,
|
||||
'tw-w-1/3': !first && last,
|
||||
}"
|
||||
></bit-skeleton>
|
||||
}
|
||||
</div>
|
||||
Reference in New Issue
Block a user