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

@paprika/data-header

Package Overview
Dependencies
Maintainers
4
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paprika/data-header

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

  • 4.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
43
decreased by-67.91%
Maintainers
4
Weekly downloads
 
Created
Source

@paprika/data-header

Description

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

Installation

yarn add @paprika/data-header

or with npm:

npm install @paprika/data-header

Props

DataHeader

PropTyperequireddefaultDescription
backgroundColorstringfalsenull
colorstringfalsenull
label[func,string]true-
renderActionsfuncfalsenull
type[ types.type.TEXT, types.type.NUMERIC, types.type.DATE, types.type.DATE_TIME, types.type.TIME]falsenull
iconsobjectfalsenull

DataHeader

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} />
  • Storybook Showcase
  • GitHub source code
  • Create GitHub issue
  • CHANGELOG

FAQs

Package last updated on 06 Jan 2024

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