// @flow import { type Block } from 'slate'; import { type List } from 'immutable'; import type Options from '../options'; /** * Returns the list of cells at the given row index */ function getCellsAtRow( opts: Options, // The table table: Block, rowIndex: number ): List { return table.nodes.get(rowIndex).nodes; } export default getCellsAtRow;