viddo/atom-textual-velocity

View on GitHub
flow-types/IColumn.js

Summary

Maintainability
A
0 mins
Test Coverage
/* @flow */

import type { Note } from "./Note";
import type { CellContent, CellContentParams } from "./CellContent";
import type { NotePropName } from "./Note";

export interface IColumn {
  description: string;
  sortField: NotePropName;
  title: string;
  width: number;
  cellContent(params: CellContentParams): CellContent;

  +className?: string;
  +editCellName?: NotePropName;
  +editCellStr?: (note: Note) => string;
}