|
@@ -209,7 +209,9 @@ DraggableTabList.Item = Item;
|
|
|
* TabDividers are only visible around NON-selected tabs. They are not visible around the selected tab,
|
|
|
* but they still create some space and act as a gap between tabs.
|
|
|
*/
|
|
|
-const TabDivider = styled(motion.div)<{isVisible: boolean}>`
|
|
|
+const TabDivider = styled(motion.div, {
|
|
|
+ shouldForwardProp: prop => prop !== 'isVisible',
|
|
|
+})<{isVisible: boolean}>`
|
|
|
${p =>
|
|
|
p.isVisible &&
|
|
|
`
|