1.0.7 • Published 6 months ago

@types/ink-table v1.0.7

Weekly downloads
28
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for ink-table 1.0
// Project: https://github.com/maticzav/ink-table#readme
// Definitions by: Łukasz Ostrowski <https://github.com/lukostry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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

export interface TableProps {
    cell?: InkComponent | undefined;
    data?: ReadonlyArray<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: Fri, 09 Jul 2021 02:32:28 GMT
  • Dependencies: @types/ink
  • Global values: none

Credits

These definitions were written by Łukasz Ostrowski.

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

8 months ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

5 years ago

1.0.0

5 years ago