mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Create banner.stories.mdx (#3695)
* Create banner.stories.mdx Added documentation for Banner component in Common * Update banner.stories.mdx Added comment to test verification * Update banner.stories.mdx Removing test comment * Trying our referencing stories in banner mdx * fix: build errors * Added stories for banner info, warning, danger * Formatting update libs/components/src/banner/banner.stories.ts Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> * Update banner.stories.mdx Added list formatting to text for readability, added section for Accessibility * Update libs/components/src/stories/banner.stories.mdx Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com> * Update libs/components/src/stories/banner.stories.mdx Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com> * Updated banner.stories.mdx Added section for Accessibility, improvements to text formatting for readability Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com> Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com> Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com>
This commit is contained in:
committed by
GitHub
parent
a9ebed0d8d
commit
fcd388e888
@@ -37,7 +37,10 @@ export default {
|
||||
const Template: Story<BannerComponent> = (args: BannerComponent) => ({
|
||||
props: args,
|
||||
template: `
|
||||
<bit-banner [bannerType]="bannerType" (onClose)="onClose($event)">Content Really Long Text Lorem Ipsum Ipsum Ipsum <button>Button</button></bit-banner>
|
||||
<bit-banner [bannerType]="bannerType" (onClose)="onClose($event)">
|
||||
Content Really Long Text Lorem Ipsum Ipsum Ipsum
|
||||
<button>Button</button>
|
||||
</bit-banner>
|
||||
`,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user