1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

[CL-54] Add support for button block without argument + submit button (#3498)

This commit is contained in:
Oscar Hinton
2022-09-16 11:30:41 +02:00
committed by GitHub
parent 0783bb2f7d
commit 868f12bfd8
5 changed files with 39 additions and 9 deletions

View File

@@ -1,4 +1,10 @@
<button bitButton type="submit" [buttonType]="buttonType" [disabled]="loading || disabled">
<button
bitButton
type="submit"
[block]="block"
[buttonType]="buttonType"
[disabled]="loading || disabled"
>
<span class="tw-relative">
<span [ngClass]="{ 'tw-invisible': loading }">
<ng-content></ng-content>