Socket
Socket
Sign inDemoInstall

now-activity-tab

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    now-activity-tab

NOW 活动组件 选项卡


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

now-activity-tab 活动选项卡组件

活动tab 选项卡组件

API

属性说明类型默认值是否必传
tabsData选项卡数据array-
defaultSelectIndex默认选择的选项卡位置number0
callback回调选择选项卡(Index,name)function-

安装

npm install now-activity-tab

传参示例

import Tab from 'now-activity-tab'

    const tabs = ['女神榜', '男神榜', '新人榜', '潜力榜'];
	<Tab
        callback={this.tabClick}
        defaultSelectIndex={selectedTabIndex}
        tabsData={tabs}
    />

Keywords

FAQs

Last updated on 18 Oct 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc