communication-react-19
Version:
React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)
33 lines • 1.09 kB
TypeScript
import { RichTextStrings } from '../RichTextEditor/RichTextSendBox';
import { IEditor } from 'roosterjs-content-model-types';
import { IContextualMenuItem } from '@fluentui/react';
/**
* @private
*
* String to be replaces by actual values of row and column.
*/
export declare const ColumnRowReplaceString = "{column} x {row}";
/**
* @private
*
* Function to create key pair for the selected table size.
*/
export declare function createKey(row: number, column: number): string;
/**
* @private
*
* Function to parse key to the selected table size valules.
*/
export declare function parseKey(key: string): {
row: number;
column: number;
};
/**
* Returns an array of context menu items for editing a rich text table.
*
* @param editor - The editor instance.
* @param strings - An object containing localized strings for the context menu items.
* @returns An array of context menu items.
*/
export declare const getTableEditContextMenuItems: (editor: IEditor, strings: Partial<RichTextStrings>) => IContextualMenuItem[];
//# sourceMappingURL=RichTextTableUtils.d.ts.map