Skip to content

Commit 95e7054

Browse files
Resolved typo in HTML example for dnn-tabs and added TSX example
1 parent 0513f39 commit 95e7054

File tree

1 file changed

+12
-1
lines changed
  • packages/stencil-library/src/components/dnn-tabs

1 file changed

+12
-1
lines changed

Diff for: packages/stencil-library/src/components/dnn-tabs/readme.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@
99
<p>Content of the first tab.</p>
1010
</dnn-tab>
1111
<dnn-tab tab-title="Second Tab">
12-
<p>This is the second tab<p>
12+
<p>This is the second tab</p>
13+
</dnn-tab>
14+
</dnn-tabs>
15+
```
16+
17+
```tsx
18+
<dnn-tabs>
19+
<dnn-tab tabTitle="First Tab">
20+
<p>Content of the first tab.</p>
21+
</dnn-tab>
22+
<dnn-tab tabTitle="Second Tab">
23+
<p>This is the second tab</p>
1324
</dnn-tab>
1425
</dnn-tabs>
1526
```

0 commit comments

Comments
 (0)