Socket
Socket
Sign inDemoInstall

chakra-data-table

Package Overview
Dependencies
186
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.4.1

9

dist/index.d.ts
import React from 'react';
import { FlexProps, TableBodyProps, TableCellProps, TableColumnHeaderProps, TableFooterProps, TableHeadProps, TableProps, TableRowProps } from '@chakra-ui/react';
declare type ValidReactChild = React.ReactElement | string | number | null | false;
declare type MapperFunc<K extends Record<string | number, unknown>[], Z = string | number | null | false | undefined | React.ReactElement> = (data: K[number], index: number) => Z;
declare type Value<K extends Record<string | number, unknown>[]> = true | MapperFunc<K>;
declare type MapperValue<K extends Record<string | number, unknown>[]> = Value<K> | [Value<K>, TableCellProps | number] | [Value<K>, (row: K[number], index: number) => TableCellProps];
export declare type ValidReactChild = React.ReactElement | string | number | null | false;
export declare type MapperFunc<K extends Record<string | number, unknown>[], Z = string | number | null | false | undefined | React.ReactElement> = (data: K[number], index: number) => Z;
export declare type Value<K extends Record<string | number, unknown>[]> = true | MapperFunc<K>;
export declare type MapperValue<K extends Record<string | number, unknown>[]> = Value<K> | [Value<K>, TableCellProps | number] | [Value<K>, (row: K[number], index: number) => TableCellProps];
export interface DataTableTypes<T extends ReadonlyArray<string>, K extends Record<string | number, unknown>[]> {

@@ -46,2 +46,1 @@ title?: string;

export declare function DataTable<T extends ReadonlyArray<string>, K extends Record<string | number, unknown>[]>(props: DataTableTypes<T, K>): JSX.Element;
export {};

@@ -5,3 +5,3 @@ {

"author": "Fran Zekan",
"version": "1.4.0",
"version": "1.4.1",
"license": "MIT",

@@ -8,0 +8,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc