mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Add type=button to stories (#12930)
This commit is contained in:
@@ -9,10 +9,16 @@ import { CopyClickDirective } from "./copy-click.directive";
|
||||
|
||||
@Component({
|
||||
template: `
|
||||
<button appCopyClick="no toast shown" #noToast></button>
|
||||
<button appCopyClick="info toast shown" showToast="info" #infoToast></button>
|
||||
<button appCopyClick="success toast shown" showToast #successToast></button>
|
||||
<button appCopyClick="toast with label" showToast valueLabel="Content" #toastWithLabel></button>
|
||||
<button type="button" appCopyClick="no toast shown" #noToast></button>
|
||||
<button type="button" appCopyClick="info toast shown" showToast="info" #infoToast></button>
|
||||
<button type="button" appCopyClick="success toast shown" showToast #successToast></button>
|
||||
<button
|
||||
type="button"
|
||||
appCopyClick="toast with label"
|
||||
showToast
|
||||
valueLabel="Content"
|
||||
#toastWithLabel
|
||||
></button>
|
||||
`,
|
||||
})
|
||||
class TestCopyClickComponent {
|
||||
|
||||
Reference in New Issue
Block a user