
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@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 93 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.