Closed charlie-yao closed 1 year ago
A minor change, but I think allowCollapseLast is ultimately a better abstraction than allowToggle. Just felt kind of weird that in the case of allowMultiple && !allowToggle, allowToggle would effectively be treated as true anyway.
allowCollapseLast
allowToggle
allowMultiple && !allowToggle
true
Resolves #153
A minor change, but I think
allowCollapseLast
is ultimately a better abstraction thanallowToggle
. Just felt kind of weird that in the case ofallowMultiple && !allowToggle
,allowToggle
would effectively be treated astrue
anyway.Resolves #153