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

@teamix/actions

Package Overview
Dependencies
Maintainers
16
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teamix/actions

一组操作按钮

  • 1.3.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
16
Created
Source

操作组

@teamix/actions

一组操作按钮

API

参数名说明必填类型默认值备注
style设置组件的styleReact.CSSProperties
className设置组件的classNamestring
followTrigger弹层是否跟随滚动booleanfalse
triggerType更多展开触发方式'hover' | 'click''hover'1.3.2 添加
threshold设置最多显示的操作数,多出的会被收起(当收起的只有一项时,会将其放入正常项显示)number3
moreText收起时显示的标签,未设置则显示省略图标string
dataSource设置操作数据IDataItem[]
onClick点击某个操作项回调(item: IDataItem) => void

IDataItem

interface IDataItem {
  text: string;
  title?: string; // 兼容pagemap历史数据,优先级低于text
  disabled?: boolean;
  [key:index]: any;
  children?: IDataItem[];
}

Keywords

FAQs

Package last updated on 10 Nov 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc