You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add AccordionItem alias for Disclosure (#9212)
* feat: Add AccordionItem so we can change Disclosure in the future without a breaking change
* copy
* small typo
* whoops lint
* update docs and story
* get rid of accordion context
/** The contents of the accordion, consisting of a AccordionItemTitle and AccordionItemPanel. */
85
+
children: ReactNode
86
+
}
87
+
/**
88
+
* A accordion item is a collapsible section of content. It is composed of a header with a heading and trigger button, and a panel that contains the content.
Copy file name to clipboardExpand all lines: packages/@react-spectrum/s2/src/Disclosure.tsx
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ const disclosure = style({
66
66
},getAllowedOverrides());
67
67
68
68
/**
69
-
* A disclosure is a collapsible section of content. It is composed of a a header with a heading and trigger button, and a panel that contains the content.
69
+
* A disclosure is a collapsible section of content. It is composed of a header with a heading and trigger button, and a panel that contains the content.
0 commit comments