mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
[CL-11] Submit button (#2971)
* Begin implementing submit button * Add submit button * Update figma url * Add disabled when loading * Update existing submit buttons * Move template to it's own file
This commit is contained in:
13
libs/components/src/submit-button/submit-button.component.ts
Normal file
13
libs/components/src/submit-button/submit-button.component.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Component, Input } from "@angular/core";
|
||||
|
||||
import { ButtonTypes } from "../button";
|
||||
|
||||
@Component({
|
||||
selector: "bit-submit-button",
|
||||
templateUrl: "./submit-button.component.html",
|
||||
})
|
||||
export class SubmitButtonComponent {
|
||||
@Input() buttonType: ButtonTypes = "primary";
|
||||
@Input() disabled = false;
|
||||
@Input() loading: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user