Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-tabs

Package Overview
Dependencies
Maintainers
6
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tabs - npm Package Compare versions

Comparing version 11.10.0 to 11.10.1

CHANGELOG.md

16

es/TabNavList/index.js

@@ -6,2 +6,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _typeof from "@babel/runtime/helpers/esm/typeof";
import * as React from 'react';

@@ -28,11 +29,18 @@ import { useState, useRef, useEffect } from 'react';

if (!extra) return null;
var content;
var assertExtra = extra;
var content; // Parse extra
var assertExtra = {};
if (extra && _typeof(extra) === 'object' && ! /*#__PURE__*/React.isValidElement(extra)) {
assertExtra = extra;
} else {
assertExtra.right = extra;
}
if (position === 'right') {
content = assertExtra.right || !assertExtra.left && assertExtra || null;
content = assertExtra.right;
}
if (position === 'left') {
content = assertExtra.left || null;
content = assertExtra.left;
}

@@ -39,0 +47,0 @@

@@ -22,2 +22,4 @@ "use strict";

var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
var React = _interopRequireWildcard(require("react"));

@@ -56,11 +58,18 @@

if (!extra) return null;
var content;
var assertExtra = extra;
var content; // Parse extra
var assertExtra = {};
if (extra && (0, _typeof2.default)(extra) === 'object' && ! /*#__PURE__*/React.isValidElement(extra)) {
assertExtra = extra;
} else {
assertExtra.right = extra;
}
if (position === 'right') {
content = assertExtra.right || !assertExtra.left && assertExtra || null;
content = assertExtra.right;
}
if (position === 'left') {
content = assertExtra.left || null;
content = assertExtra.left;
}

@@ -67,0 +76,0 @@

{
"name": "rc-tabs",
"version": "11.10.0",
"version": "11.10.1",
"description": "tabs ui component for react",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc