2 * Copyright (c) Meta Platforms, Inc. and affiliates.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
9 import type {LexicalCommand} from 'lexical';
11 import {createCommand} from 'lexical';
13 export type InsertTableCommandPayloadHeaders =
20 export type InsertTableCommandPayload = Readonly<{
23 includeHeaders?: InsertTableCommandPayloadHeaders;
26 export const INSERT_TABLE_COMMAND: LexicalCommand<InsertTableCommandPayload> =
27 createCommand('INSERT_TABLE_COMMAND');