- BREAKING: Removes
TinyCollapse.propTypes
, removesprop-types
as peer dependency - Adds TypeScript typings
Adds react@^18.0.0
and react-dom@^18.0.0
as peer dependencies
Adds react@^17.0.0
and react-dom@^17.0.0
as peer dependencies
- Adds changelog! 🙈
- Adds support for using
style
incomponentProps
. Inline styles set byreact-tiny-collapse
will override user styles when there's a collision. - Adds support for using function components using
React.forwardRef
ascomponent
- Renames
unmountClosed
tounmountChildren
- Makes
false
the default value forunmountChildren
- Makes
false
the default value foranimateChildren
unmountClosed
was a confusing name, and options that default to true
are not nice.