mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
[CL-149] add stacked banner story (#7106)
This commit is contained in:
parent
04741bcab4
commit
0b6af73435
@ -90,3 +90,36 @@ export const HideClose: Story = {
|
||||
showClose: false,
|
||||
},
|
||||
};
|
||||
|
||||
export const Stacked: Story = {
|
||||
args: {},
|
||||
render: (args: BannerComponent) => ({
|
||||
props: args,
|
||||
template: `
|
||||
<bit-banner bannerType="premium" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
<bit-banner bannerType="premium" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
<bit-banner bannerType="warning" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
<bit-banner bannerType="warning" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
<bit-banner bannerType="danger" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
<bit-banner bannerType="danger" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
<bit-banner bannerType="info" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
<bit-banner bannerType="info" (onClose)="onClose($event)">
|
||||
Bruce
|
||||
</bit-banner>
|
||||
`,
|
||||
}),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user