Add custom key feature to Tabs
When using objects as elements for <Tabs />
, React was displaying an error because the component used the object itself as a key.
This release adds a buildKey
function prop to allow the caller to specify how to build a key for each element.