Skip to content

Commit

Permalink
docs(disclosure): update changeset disclosure example code
Browse files Browse the repository at this point in the history
Co-authored-by: Benny Powers - עם ישראל חי! <[email protected]>
  • Loading branch information
adamjohnson and bennypowers authored Jan 15, 2025
1 parent 164ac5d commit 8f07448
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .changeset/nasty-ravens-joke.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
A disclosure is a widget that enables content to be either collapsed (hidden) or expanded (visible).

```html
<rh-disclosure>
<span slot="summary">
Collapsed panel title
</span>
<rh-disclosure summary="Collapsed panel title">
<p>Lorem ipsum dolor sit amet consectetur adipisicing, elit.</p>
</rh-disclosure>
```

0 comments on commit 8f07448

Please sign in to comment.