@types/react-native-table-component
TypeScript definitions for react-native-table-component
Last updated 2 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/react-native-table-component 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/react-native-table-component

Summary

This package contains type definitions for react-native-table-component (https://github.com/Gil2015/react-native-table-component#readme).

Details

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

index.d.ts

import { Component, ReactNode } from "react";
import { StyleProp, TextStyle, ViewStyle } from "react-native";

// cell.js

export interface CellProps {
    data?: any;
    width?: number | undefined;
    height?: number | undefined;
    flex?: number | undefined;
    style?: StyleProp<ViewStyle> | undefined;
    textStyle?: StyleProp<TextStyle> | undefined;
    borderStyle?: StyleProp<ViewStyle> | undefined;
}

export class Cell extends Component<CellProps> {}

// cols.js

export interface ColProps {
    data?: any[] | undefined;
    style?: StyleProp<ViewStyle> | undefined;
    width?: number | undefined;
    heightArr?: number[] | undefined;
    textStyle?: StyleProp<TextStyle> | undefined;
}

export class Col extends Component<ColProps> {}

export interface ColsProps {
    data?: any[] | undefined;
    style?: StyleProp<ViewStyle> | undefined;
    widthArr?: number[] | undefined;
    heightArr?: number[] | undefined;
    flexArr?: number[] | undefined;
    textStyle?: StyleProp<TextStyle> | undefined;
}

export class Cols extends Component<ColsProps> {}

// rows.js

export interface RowProps {
    data?: any[] | undefined;
    style?: StyleProp<ViewStyle> | undefined;
    widthArr?: number[] | undefined;
    height?: number | undefined;
    flexArr?: number[] | undefined;
    textStyle?: StyleProp<TextStyle> | undefined;
}

export class Row extends Component<RowProps> {}

export interface RowsProps {
    data?: any[][] | undefined;
    style?: StyleProp<ViewStyle> | undefined;
    widthArr?: number[] | undefined;
    heightArr?: number[] | undefined;
    flexArr?: number[] | undefined;
    textStyle?: StyleProp<TextStyle> | undefined;
}

export class Rows extends Component<RowsProps> {}

// table.js

export interface TableProps {
    children?: ReactNode;
    style?: StyleProp<ViewStyle> | undefined;
    borderStyle?: StyleProp<ViewStyle> | undefined;
}

export class Table extends Component<TableProps> {
    _renderChildren(props: TableProps): ReactNode;
}

export interface TableWrapperProps {
    children?: ReactNode;
    style?: StyleProp<ViewStyle> | undefined;
    borderStyle?: StyleProp<ViewStyle> | undefined;
}

export class TableWrapper extends Component<TableWrapperProps> {
    _renderChildren(props: TableWrapperProps): ReactNode;
}

Additional Details

Credits

These definitions were written by David Cole.

Current Tags

  • 1.2.8                                ...           latest (2 years ago)
  • 1.2.0                                ...           ts3.2 (5 years ago)
  • 1.2.0                                ...           ts3.3 (5 years ago)
  • 1.2.0                                ...           ts3.4 (5 years ago)
  • 1.2.0                                ...           ts3.5 (5 years ago)
  • 1.2.1                                ...           ts3.6 (5 years ago)
  • 1.2.2                                ...           ts3.7 (4 years ago)
  • 1.2.3                                ...           ts3.8 (4 years ago)
  • 1.2.4                                ...           ts3.9 (4 years ago)
  • 1.2.4                                ...           ts4.0 (4 years ago)
  • 1.2.4                                ...           ts4.1 (4 years ago)
  • 1.2.4                                ...           ts4.2 (4 years ago)
  • 1.2.4                                ...           ts4.3 (4 years ago)
  • 1.2.4                                ...           ts4.4 (4 years ago)
  • 1.2.7                                ...           ts4.5 (2 years ago)
  • 1.2.8                                ...           ts4.6 (2 years ago)
  • 1.2.8                                ...           ts4.7 (2 years ago)
  • 1.2.8                                ...           ts4.8 (2 years ago)
  • 1.2.8                                ...           ts4.9 (2 years ago)
  • 1.2.8                                ...           ts5.0 (2 years ago)
  • 1.2.8                                ...           ts5.1 (2 years ago)
  • 1.2.8                                ...           ts5.2 (2 years ago)
  • 1.2.8                                ...           ts5.3 (2 years ago)
  • 1.2.8                                ...           ts5.4 (2 years ago)
  • 1.2.8                                ...           ts5.5 (2 years ago)
  • 1.2.8                                ...           ts5.6 (2 years ago)
  • 1.2.8                                ...           ts5.7 (2 years ago)

9 Versions

  • 1.2.8                                ...           2 years ago
  • 1.2.7                                ...           2 years ago
  • 1.2.6                                ...           2 years ago
  • 1.2.5                                ...           3 years ago
  • 1.2.4                                ...           4 years ago
  • 1.2.3                                ...           4 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 8
Last Month 9
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |