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

rc-tabs

Package Overview
Dependencies
Maintainers
4
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 7.2.0 to 7.3.0

10

lib/ScrollableTabBarMixin.js

@@ -26,3 +26,5 @@ 'use strict';

return {
scrollAnimated: true
scrollAnimated: true,
onPrevClick: function onPrevClick() {},
onNextClick: function onNextClick() {}
};

@@ -192,3 +194,4 @@ },

},
prev: function prev() {
prev: function prev(e) {
this.props.onPrevClick(e);
var navWrapNode = this.refs.navWrap;

@@ -200,3 +203,4 @@ var navWrapNodeWH = this.getOffsetWH(navWrapNode);

},
next: function next() {
next: function next(e) {
this.props.onNextClick(e);
var navWrapNode = this.refs.navWrap;

@@ -203,0 +207,0 @@ var navWrapNodeWH = this.getOffsetWH(navWrapNode);

{
"name": "rc-tabs",
"version": "7.2.0",
"version": "7.3.0",
"description": "tabs ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

@@ -236,5 +236,34 @@ # rc-tabs

### lib/ScrollableTabBar
scrollable tab bar, in addition to tab bar props, extra props:
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="width: 100px;">name</th>
<th style="width: 50px;">type</th>
<th>default</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr>
<td>onPrevClick</td>
<td>(e: Event): void</td>
<th></th>
<td>callback when prev button is clicked</td>
</tr>
<tr>
<td>onNextClick</td>
<td>(e: Event): void</td>
<th></th>
<td>callback when next button is clicked</td>
</tr>
</tbody>
</table>
### lib/ScrollableInkTabBar
scrollable tab bar with ink indicator, same with tab bar/ink bar props.
scrollable tab bar with ink indicator, same with tab bar and ink bar and scrollable bar props.

@@ -241,0 +270,0 @@ ### lib/SwipeableInkTabBar (Use for Mobile)

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