1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

[PM-9969] Papercut - Update component library storybook docs (#10191)

* add component import examples

* component library story html formatting/cleanup nits

* Update libs/components/src/dialog/dialog/dialog.mdx

Co-authored-by: Will Martin <contact@willmartian.com>

* Update libs/components/src/badge/badge.mdx

Co-authored-by: Will Martin <contact@willmartian.com>

* Update libs/components/src/dialog/simple-dialog/simple-dialog.mdx

Co-authored-by: Will Martin <contact@willmartian.com>

---------

Co-authored-by: Will Martin <contact@willmartian.com>
This commit is contained in:
Jonathan Prusik
2024-08-07 11:13:29 -04:00
committed by GitHub
parent f8961e35e7
commit 66d9ab5dc0
18 changed files with 210 additions and 21 deletions

View File

@@ -4,6 +4,10 @@ import * as stories from "./simple-dialog.stories";
<Meta of={stories} />
```ts
import { DialogModule, DialogService } from "@bitwarden/components";
```
# Simple Dialogs
Simple Dialogs are used throughout the app for simple alert or confirmation actions such as

View File

@@ -64,10 +64,9 @@ export const ScrollingContent: Story = {
<bit-simple-dialog>
<span bitDialogTitle>Alert Dialog</span>
<span bitDialogContent>
Message Content
Message text goes here.<br>
Message Content Message text goes here.<br />
<ng-container *ngFor="let _ of [].constructor(100)">
repeating lines of characters <br>
repeating lines of characters <br />
</ng-container>
end of sequence!
</span>