
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
@types/react-native-table-component
Advanced tools
TypeScript definitions for react-native-table-component
npm install --save @types/react-native-table-component
This package contains type definitions for react-native-table-component (https://github.com/Gil2015/react-native-table-component#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-table-component.
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;
}
These definitions were written by David Cole.
FAQs
TypeScript definitions for react-native-table-component
The npm package @types/react-native-table-component receives a total of 4,691 weekly downloads. As such, @types/react-native-table-component popularity was classified as popular.
We found that @types/react-native-table-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.