Home
Projects
Resources
Alternatives
Blog
Sign In
React Sanfona Versions
Save
Accessible react accordion component
Overview
Versions
Reviews
Resources
v0.2.3
6 years ago
v0.2.2
6 years ago
v0.1.0
7 years ago
control activeItems via props
set uuid prop
v0.0.15
7 years ago
Allow overriding AccordionTitle by passing a Component as title
v0.0.14
7 years ago
Updates to component props
Accordion
openNextAccordionItem - opens the next accordion item when closing the currently expanded one. Here is a demo:
https://cl.ly/0K1P0S133K0O
AccordionItem
onExpanded - fires a callback when an accordion item has expanded
onClosed - fires a callback when accordion item has closed
Updates to README
Added markdown tables to identify props, description, type, and defaults values for Accordion and AccordionItem components
Added markdown table for styling using classnames. Shows the classname and what it targets
Updates to dist
Adding react-dom to webpack externals (alias = ReactDOM)
v0.0.13
8 years ago
maxHeight: auto if item is expanded initially
remove 'undefined' class from item
0.0.12
8 years ago
Index AccordionItem by either index or slug (a string)
Stricter checks for allowMultiple
Add onChange event to accordion
Change ES6 exports
Allow React 14 or 15 in peer deps
0.0.11
8 years ago
Upgrade to React 0.15.2
Check if this.props.children is an array
0.0.10
8 years ago
Update dist files
v0.0.9
8 years ago
Unset max-height once animation has finished, to allow content size changes
Allow custom class and style props
« Previous
Next »
Home
Projects
Resources
Alternatives
Blog
Sign In
Sign In to OSA
I agree with
Terms of Service
and
Privacy Policy
Sign In with Github