Options
All
  • Public
  • Public/Protected
  • All
Menu

The prop types for the Table component.

Hierarchy

  • TableProps

Index

Properties

columns

columns: { Header: string; accessor: string; sortType: string }[]

An array of column objects, containing a Header (the title to be displayed at the head of the column), an accessor (a unique string to assign row cells to the correct column) and a sortType (can be set to basic, datetime or alphanumeric)

data

data: { link?: undefined | string }[]

An array of cell objects to be displayed as a row. Each key should be set to match the column accessor whilst the value is set to data to be displayed

dueDateWarning

dueDateWarning: string[]

An array of column accessors which you wish to apply due date icons upon.

Generated using TypeDoc