
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@paprika/data-header
Advanced tools
Data header package is a set of components that help the Table and DataGrid to enhance the cell property to display different header types in a ease manner
Data header package is a set of components that help the Table and DataGrid to enhance the cell property to display different header types in a ease manner
yarn add @paprika/data-header
or with npm:
npm install @paprika/data-header
Prop | Type | required | default | Description |
---|---|---|---|---|
backgroundColor | string | false | null | |
color | string | false | null | |
label | [func,string] | true | - | |
renderActions | func | false | null | |
type | [ types.type.TEXT, types.type.NUMERIC, types.type.DATE, types.type.DATE_TIME, types.type.TIME] | false | null | |
icons | object | false | null |
The <DataHeader />
component helps consumer to deal with header with the <Table />
and <DataGrid />
components.
With this component you have access to three major features: render Label via a string or function, render an action button/menu at the right side of the header or render an icon type
before the label.
The component looks like:
<DataHeader label={string|function} type={:string} renderActions={:function} />
FAQs
Data header package is a set of components that help the Table and DataGrid to enhance the cell property to display different header types in a ease manner
The npm package @paprika/data-header receives a total of 40 weekly downloads. As such, @paprika/data-header popularity was classified as not popular.
We found that @paprika/data-header demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.