Skip to content

Add custom key feature to Tabs

Compare
Choose a tag to compare
@ganlhi ganlhi released this 19 Jul 12:04
· 53 commits to master since this release

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.