Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 400 Bytes

File metadata and controls

20 lines (16 loc) · 400 Bytes

react-native-app-helpers/TableColumn

Describes the schema of a column in a table which does not have a custom renderer.

Usage

import type { BasicTableColumn } from "react-native-app-helpers";

const example: BasicTableColumn<
  `exampleKeyA` | `exampleKeyB`,
  `exampleKeyC` | `exampleKeyD`
> = {
  type: `basic`,
  label: `Example Label B`,
  key: `exampleKeyB`,
  width: 5,
};