New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

rc-tabs

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tabs - npm Package Compare versions

Comparing version

to
11.3.2

@@ -151,4 +151,9 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";

var mergedTabPosition = mobile ? 'top' : tabPosition; // Async generate id to avoid ssr mapping failed
var mergedTabPosition = tabPosition;
if (mobile && !['left', 'right'].includes(tabPosition)) {
mergedTabPosition = 'top';
} // Async generate id to avoid ssr mapping failed
useEffect(function () {

@@ -155,0 +160,0 @@ if (!id) {

@@ -169,4 +169,9 @@ "use strict";

var mergedTabPosition = mobile ? 'top' : tabPosition; // Async generate id to avoid ssr mapping failed
var mergedTabPosition = tabPosition;
if (mobile && !['left', 'right'].includes(tabPosition)) {
mergedTabPosition = 'top';
} // Async generate id to avoid ssr mapping failed
(0, React.useEffect)(function () {

@@ -173,0 +178,0 @@ if (!id) {

{
"name": "rc-tabs",
"version": "11.3.1",
"version": "11.3.2",
"description": "tabs ui component for react",

@@ -5,0 +5,0 @@ "engines": {