@types/ink-table
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Installation

npm install --save @types/ink-table

Summary

This package contains type definitions for ink-table (https://github.com/maticzav/ink-table#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-table.

index.d.ts

import { InkComponent, InkNode, StatelessComponent } from "ink";

export interface TableProps {
    cell?: InkComponent | undefined;
    data?: readonly object[] | undefined;
    header?: InkComponent | undefined;
    padding?: number | undefined;
    skeleton?: InkComponent | undefined;
}

export const Cell: StatelessComponent<{ children: InkNode }>;
export const Header: StatelessComponent<{ children: InkNode }>;
export const Skeleton: StatelessComponent<{ children: InkNode }>;

declare const Table: StatelessComponent<TableProps>;

export default Table;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: @types/ink

Credits

These definitions were written by Łukasz Ostrowski.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ink-table

Weekly Downloads

42

Version

1.0.7

License

MIT

Unpacked Size

3.75 kB

Total Files

5

Last publish

Collaborators

  • types