Releases: daviferreira/react-sanfona
Releases · daviferreira/react-sanfona
v0.2.3
v0.2.2
0.2.2
v0.1.0
custom title components
Allow overriding AccordionTitle by passing a Component as title
v0.0.14
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
0.0.12: * Allow strings as keys for Accordion Items
- 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
- Upgrade to React 0.15.2
- Check if this.props.children is an array
0.0.10
- Update dist files
v0.0.9
- Unset max-height once animation has finished, to allow content size changes
- Allow custom class and style props