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

rc-tabs

Package Overview
Dependencies
Maintainers
7
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 12.0.0-alpha.0 to 12.0.0-alpha.1

2

es/interface.d.ts

@@ -50,3 +50,3 @@ import type React from 'react';

onEdit: (type: 'add' | 'remove', info: {
key?: React.Key;
key?: string;
event: React.MouseEvent | React.KeyboardEvent;

@@ -53,0 +53,0 @@ }) => void;

@@ -19,3 +19,3 @@ import * as React from 'react';

locale?: TabsLocale;
onTabClick: (activeKey: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void;
onTabClick: (activeKey: string, e: React.MouseEvent | React.KeyboardEvent) => void;
onTabScroll?: OnTabScroll;

@@ -22,0 +22,0 @@ children?: (node: React.ReactElement) => React.ReactElement;

@@ -11,3 +11,3 @@ import * as React from 'react';

tabBarGutter?: number;
activeKey: React.Key;
activeKey: string;
mobile: boolean;

@@ -19,3 +19,3 @@ moreIcon?: React.ReactNode;

removeAriaLabel?: string;
onTabClick: (key: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void;
onTabClick: (key: string, e: React.MouseEvent | React.KeyboardEvent) => void;
tabMoving?: boolean;

@@ -22,0 +22,0 @@ getPopupContainer?: (node: HTMLElement) => HTMLElement;

@@ -1,5 +0,4 @@

import * as React from 'react';
import type { TabPosition, AnimatedConfig } from '../interface';
export interface TabPanelListProps {
activeKey: React.Key;
activeKey: string;
id: string;

@@ -6,0 +5,0 @@ rtl: boolean;

@@ -50,3 +50,3 @@ import type React from 'react';

onEdit: (type: 'add' | 'remove', info: {
key?: React.Key;
key?: string;
event: React.MouseEvent | React.KeyboardEvent;

@@ -53,0 +53,0 @@ }) => void;

@@ -19,3 +19,3 @@ import * as React from 'react';

locale?: TabsLocale;
onTabClick: (activeKey: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void;
onTabClick: (activeKey: string, e: React.MouseEvent | React.KeyboardEvent) => void;
onTabScroll?: OnTabScroll;

@@ -22,0 +22,0 @@ children?: (node: React.ReactElement) => React.ReactElement;

@@ -11,3 +11,3 @@ import * as React from 'react';

tabBarGutter?: number;
activeKey: React.Key;
activeKey: string;
mobile: boolean;

@@ -19,3 +19,3 @@ moreIcon?: React.ReactNode;

removeAriaLabel?: string;
onTabClick: (key: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void;
onTabClick: (key: string, e: React.MouseEvent | React.KeyboardEvent) => void;
tabMoving?: boolean;

@@ -22,0 +22,0 @@ getPopupContainer?: (node: HTMLElement) => HTMLElement;

@@ -1,5 +0,4 @@

import * as React from 'react';
import type { TabPosition, AnimatedConfig } from '../interface';
export interface TabPanelListProps {
activeKey: React.Key;
activeKey: string;
id: string;

@@ -6,0 +5,0 @@ rtl: boolean;

{
"name": "rc-tabs",
"version": "12.0.0-alpha.0",
"version": "12.0.0-alpha.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