1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Tweak component library slightly (#715)

This commit is contained in:
Oscar Hinton
2022-03-11 21:00:24 +01:00
committed by GitHub
parent 3f20122e5b
commit 41b199ab83
7 changed files with 90 additions and 39 deletions

View File

@@ -13,7 +13,11 @@ export default {
const Template: Story<BadgeComponent> = (args: BadgeComponent) => ({
props: args,
template: `
<span class="tw-text-main">Test </span><bit-badge [type]="type">Content</bit-badge>
<span class="tw-text-main">Span </span><span bit-badge [badgeType]="type">Badge</span>
<br><br>
<span class="tw-text-main">Link </span><a href="#" bit-badge [badgeType]="type">Badge</a>
<br><br>
<span class="tw-text-main">Button </span><button bit-badge [badgeType]="type">Badge</button>
`,
});