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

@types/react-native-table-component

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-native-table-component

TypeScript definitions for react-native-table-component

  • 1.2.8
  • ts4.6
  • ts4.7
  • ts4.8
  • ts4.9
  • ts5.0
  • ts5.1
  • ts5.2
  • ts5.3
  • ts5.4
  • ts5.5
  • ts5.6
  • ts5.7
  • ts5.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 21 Dec 2023

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