
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@teamix/actions
Advanced tools
@teamix/actions
一组操作按钮
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
style | 设置组件的style | 否 | React.CSSProperties | ||
className | 设置组件的className | 否 | string | ||
followTrigger | 弹层是否跟随滚动 | 否 | boolean | false | |
triggerType | 更多展开触发方式 | 否 | 'hover' | 'click' | 'hover' | 1.3.2 添加 |
threshold | 设置最多显示的操作数,多出的会被收起(当收起的只有一项时,会将其放入正常项显示) | 否 | number | 3 | |
moreText | 收起时显示的标签,未设置则显示省略图标 | 否 | string | ||
dataSource | 设置操作数据 | 是 | IDataItem[] | ||
onClick | 点击某个操作项回调 | 否 | (item: IDataItem) => void |
interface IDataItem {
text: string;
title?: string; // 兼容pagemap历史数据,优先级低于text
disabled?: boolean;
[key:index]: any;
children?: IDataItem[];
}
FAQs
The npm package @teamix/actions receives a total of 7 weekly downloads. As such, @teamix/actions popularity was classified as not popular.
We found that @teamix/actions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 16 open source maintainers collaborating on the project.
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.