Skip to content

Commit

Permalink
Implemented usage documentation for dnn-button
Browse files Browse the repository at this point in the history
  • Loading branch information
david-poindexter committed Mar 9, 2024
1 parent 00d8fe1 commit b8d80f7
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
31 changes: 31 additions & 0 deletions packages/stencil-library/src/components/dnn-button/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,37 @@
<!-- Auto Generated Below -->


## Usage

### HTML

```html
<dnn-button
confirm=""
confirm-yes-text="Oh Yeah"
confirm-no-text="No Way"
confirm-message="Are you sure that you're sure that you're sure?"
>
Click me!
</dnn-button>
```


### JSX-TSX

```tsx
<dnn-button
confirm=""
confirmYesText="Oh Yeah"
confirmNoText="No Way"
confirmMessage="Are you sure that you're sure that you're sure?"
>
Click me!
</dnn-button>
```



## Properties

| Property | Attribute | Description | Type | Default |
Expand Down
10 changes: 10 additions & 0 deletions packages/stencil-library/src/components/dnn-button/usage/HTML.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
```html
<dnn-button
confirm=""
confirm-yes-text="Oh Yeah"
confirm-no-text="No Way"
confirm-message="Are you sure that you're sure that you're sure?"
>
Click me!
</dnn-button>
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
```tsx
<dnn-button
confirm=""
confirmYesText="Oh Yeah"
confirmNoText="No Way"
confirmMessage="Are you sure that you're sure that you're sure?"
>
Click me!
</dnn-button>
```

0 comments on commit b8d80f7

Please sign in to comment.