Skip to content

Commit

Permalink
add more info to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ktravers authored Jan 27, 2025
1 parent af2c7a4 commit e222165
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/primer/beta/details.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class Details < Primer::Component
attr_reader :open
alias open? open

# Use the Summary slot as the target for toggling the Details content open/closed.
#
# @param button [Boolean] Whether or not to render the summary element as a button.
# @param aria_label_open [String] Defaults to "Collapse". Value to announce when details element is open.
# @param aria_label_closed [String] Defaults to "Expand". Value to announce when details element is closed.
Expand Down

0 comments on commit e222165

Please sign in to comment.