Skip to content

v0.0.14

Compare
Choose a tag to compare
@brukh brukh released this 03 Aug 00:38

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)